Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit c8aa330

Browse files
committed
update DbTable\CredentialTreatmentAdapter usage in DbTable\CredentialTreatmentAdapterTest
1 parent 040fbd8 commit c8aa330

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Adapter/DbTable/CallbackCheckAdapterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function testAuthenticateSuccess()
7979
*/
8080
public function testAuthenticateSuccessWithCallback()
8181
{
82-
$this->_adapter = new Adapter\DbTable($this->_db, 'users', 'username', 'password', null, function ($a, $b) {return $a === $b;});
82+
$this->_adapter = new Adapter\DbTable\CredentialTreatmentAdapter($this->_db, 'users', 'username', 'password', null, function ($a, $b) {return $a === $b;});
8383
$this->_adapter->setIdentity('my_username');
8484
$this->_adapter->setCredential('my_password');
8585
$result = $this->_adapter->authenticate();

0 commit comments

Comments
 (0)