Commit 5c1d73d6 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Ajout tests pour meilleure couverture.

parent c78b2b4a
......@@ -91,4 +91,16 @@ class DbTest extends PHPUnit_Framework_TestCase
$result = $this->adapter->authenticate($event);
public function testAuthenticateReturnsParentMethodResult()
$request = new Request();
$request->setPost(new Parameters(array('identity' => 'bob', 'credential' => "xxxxx")));
$event = new AdapterChainEvent();
$result = $this->adapter->authenticate($event);
\ No newline at end of file
Supports Markdown
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