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

Commit bd06cb7

Browse files
committed
test update
1 parent 68c99de commit bd06cb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/UserRepository/PdoDatabaseTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function testAuthenticate()
3636
$this->assertEquals('test', $user->getUsername());
3737
}
3838

39-
public function testAuthenticateInvalidUser()
39+
public function testAuthenticateInvalidUserPassword()
4040
{
4141
$pdo = new PDO('sqlite:'. __DIR__ . '/../TestAssets/pdo.sqlite');
4242
$pdoDatabase = new PdoDatabase($pdo, [
@@ -62,7 +62,7 @@ public function testAuthenticateInvalidUsername()
6262
]
6363
]);
6464

65-
$user = $pdoDatabase->authenticate('invaliduser', 'password');
65+
$user = $pdoDatabase->authenticate('invalidusername', 'password');
6666
$this->assertNull($user);
6767
}
6868

0 commit comments

Comments
 (0)