mirror of
https://github.com/nextcloud/server.git
synced 2026-03-26 20:33:55 -04:00
LDAP tests: swithc var_dump to exception
This commit is contained in:
parent
8cb0d97b10
commit
85d0fc5cf6
1 changed files with 3 additions and 3 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue