LDAP tests: swithc var_dump to exception

This commit is contained in:
Morris Jobke 2015-04-18 15:09:15 +02:00
parent 8cb0d97b10
commit 85d0fc5cf6
1 changed files with 3 additions and 3 deletions

View File

@ -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();