Merge pull request #15722 from owncloud/remove-vardumps
LDAP tests: switch var_dump to exception
This commit is contained in:
commit
d45d246e3b
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