We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38d04bd commit c95c110Copy full SHA for c95c110
tests/LdcZfcUserOAuth2Test/Authentication/Adapter/DbTest.php
@@ -6,16 +6,16 @@
6
7
class DbTest extends \PHPUnit_Framework_TestCase
8
{
9
-
+
10
public function testGetStorageWillInstantiateNonPersistentAdapterByDefault()
11
12
$db = new Db();
13
$this->assertInstanceOf('\Zend\Authentication\Storage\NonPersistent', $db->getStorage());
14
}
15
16
// Everything below here is taken from ZfcUserTest\Authentication\Adapter
17
18
19
/**
20
* The object to be tested.
21
*
@@ -75,7 +75,7 @@ protected function setUp()
75
$user = $this->getMock('ZfcUser\Entity\User');
76
$this->user = $user;
77
78
- $this->db = new Db;
+ $this->db = new Db();
79
$this->db->setStorage($this->storage);
80
81
0 commit comments