Skip to content
Snippets Groups Projects
Commit 902bb801 authored by llaffont's avatar llaffont
Browse files

Ajout test échec authentification SIGB

parent 4d266250
Branches
Tags
No related merge requests found
......@@ -20,6 +20,23 @@
*/
class AuthAdapterCommSigbAuthenticationWithoutWebServicesTest extends Storm_Test_ModelTestCase {
public function setUp() {
parent::setUp();
Storm_Test_ObjectWrapper::onLoaderOfModel('Class_IntBib')
->whenCalled('findAllBy')
->answers([]);
}
/** @test */
public function authenticateResultShouldNotBeValid() {
$this->assertFalse($this->_adapter->authenticate()->isValid());
}
}
class AuthAdapterCommSigbSuccessfullAuthenticationTest extends Storm_Test_ModelTestCase {
public function setUp() {
parent::setUp();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment