[Pkg-owncloud-commits] [owncloud] 61/165: LDAP tests: swithc var_dump to exception
David Prévot
taffit at moszumanska.debian.org
Thu Apr 23 04:06:28 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch stable8
in repository owncloud.
commit 85d0fc5cf6e2fdc578de96cbdebb8ffc15f67484
Author: Morris Jobke <hey at morrisjobke.de>
Date: Sat Apr 18 15:09:15 2015 +0200
LDAP tests: swithc var_dump to exception
---
apps/user_ldap/tests/wizard.php | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/apps/user_ldap/tests/wizard.php b/apps/user_ldap/tests/wizard.php
index 7cf393d..f8e14f0 100644
--- a/apps/user_ldap/tests/wizard.php
+++ b/apps/user_ldap/tests/wizard.php
@@ -275,7 +275,7 @@ class Test_Wizard extends \Test\TestCase {
} else if($filter === 'mailPrimaryAddress') {
return 17;
}
- var_dump($filter);
+ throw new \Exception('Untested filter: ' . $filter);
}));
$result = $wizard->detectEmailAttribute()->getResultArray();
@@ -314,7 +314,7 @@ class Test_Wizard extends \Test\TestCase {
} else if($filter === 'mailPrimaryAddress') {
return 17;
}
- var_dump($filter);
+ throw new \Exception('Untested filter: ' . $filter);
}));
$result = $wizard->detectEmailAttribute()->getResultArray();
@@ -353,7 +353,7 @@ class Test_Wizard extends \Test\TestCase {
} else if($filter === 'mailPrimaryAddress') {
return 0;
}
- var_dump($filter);
+ throw new \Exception('Untested filter: ' . $filter);
}));
$result = $wizard->detectEmailAttribute();
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list