aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/tests
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-04-18 15:09:15 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-04-18 15:09:15 +0200
commit85d0fc5cf6e2fdc578de96cbdebb8ffc15f67484 (patch)
treee0a31e141ad64ac3cc0b8959123e093eb456fc06 /apps/user_ldap/tests
parent8cb0d97b1099561d7f9a059f3ba8105a2c719aab (diff)
downloadnextcloud-server-85d0fc5cf6e2fdc578de96cbdebb8ffc15f67484.tar.gz
nextcloud-server-85d0fc5cf6e2fdc578de96cbdebb8ffc15f67484.zip
LDAP tests: swithc var_dump to exception
Diffstat (limited to 'apps/user_ldap/tests')
-rw-r--r--apps/user_ldap/tests/wizard.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/user_ldap/tests/wizard.php b/apps/user_ldap/tests/wizard.php
index 7cf393d31ba..f8e14f08bc9 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();