Merge pull request #15722 from owncloud/remove-vardumps

LDAP tests: switch var_dump to exception
This commit is contained in:
Morris Jobke 2015-04-18 22:04:25 +02:00
commit d45d246e3b

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