Skip to content

Commit 9b81cf4

Browse files
Fix deps - fix tests
1 parent 8955843 commit 9b81cf4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/Functional/FormLoginTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,15 +132,15 @@ public function testLoginThrottling()
132132

133133
break;
134134
case 1: // Second attempt : login throttling !
135-
$this->assertStringContainsString('Too many failed login attempts, please try again in 8 minutes.', $text, 'Invalid response on 2nd attempt');
135+
$this->assertStringContainsString('Too many failed login attempts, please try again', $text, 'Invalid response on 2nd attempt');
136136

137137
break;
138138
case 2: // Third attempt with unexisting username
139139
$this->assertStringContainsString('Invalid credentials.', $text, 'Invalid response on 3rd attempt');
140140

141141
break;
142142
case 3: // Fourth attempt : still login throttling !
143-
$this->assertStringContainsString('Too many failed login attempts, please try again in 8 minutes.', $text, 'Invalid response on 4th attempt');
143+
$this->assertStringContainsString('Too many failed login attempts, please try again', $text, 'Invalid response on 4th attempt');
144144

145145
break;
146146
}

0 commit comments

Comments
 (0)