Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Commit b44ec48

Browse files
committed
Just for consistency
1 parent e5257bd commit b44ec48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/AdldapTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public function testAuthFails()
111111

112112
Adldap::shouldReceive('users')->once()->andReturn($mockedUsers);
113113

114-
$this->assertFalse(Auth::attempt(['email' => 'jdoe', 'password' => '12345']));
114+
$this->assertFalse(Auth::attempt(['email' => 'jdoe@email.com', 'password' => '12345']));
115115
}
116116

117117
public function testAuthFailsWhenUserFound()
@@ -138,7 +138,7 @@ public function testAuthFailsWhenUserFound()
138138
Adldap::shouldReceive('users')->once()->andReturn($mockedUsers);
139139
Adldap::shouldReceive('authenticate')->once()->andReturn(false);
140140

141-
$this->assertFalse(Auth::attempt(['email' => 'jdoe', 'password' => '12345']));
141+
$this->assertFalse(Auth::attempt(['email' => 'jdoe@email.com', 'password' => '12345']));
142142
}
143143

144144
public function testCredentialsKeyDoesNotExist()

0 commit comments

Comments
 (0)