Skip to content

Commit df6dfb4

Browse files
committed
minor fix
1 parent 8d888d9 commit df6dfb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/TestCase/Controller/Traits/Integration/LoginTraitIntegrationTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function testLoginGetRequestNoSocialLogin()
7777
$this->assertResponseContains('<form method="post" accept-charset="utf-8" action="/login">');
7878
$this->assertResponseContains('<legend>Please enter your username and password</legend>');
7979
$this->assertResponseContains('<input type="text" name="username" required="required" id="username" aria-required="true"/>');
80-
$this->assertResponseContains('input type="password" name="password" required="required" id="password" aria-required="true"/>');
80+
$this->assertResponseContains('<input type="password" name="password" required="required" id="password" aria-required="true"/>');
8181
$this->assertResponseContains('<input type="checkbox" name="remember_me" value="1" checked="checked" id="remember-me">');
8282
$this->assertResponseContains('<button type="submit">Login</button>');
8383
$this->assertResponseContains('<a href="/register">Register</a>');
@@ -103,7 +103,7 @@ public function testLoginGetRequest()
103103
$this->assertResponseContains('<form method="post" accept-charset="utf-8" action="/login">');
104104
$this->assertResponseContains('<legend>Please enter your username and password</legend>');
105105
$this->assertResponseContains('<input type="text" name="username" required="required" id="username" aria-required="true"/>');
106-
$this->assertResponseContains('input type="password" name="password" required="required" id="password" aria-required="true"/>');
106+
$this->assertResponseContains('<input type="password" name="password" required="required" id="password" aria-required="true"/>');
107107
$this->assertResponseContains('<input type="checkbox" name="remember_me" value="1" checked="checked" id="remember-me">');
108108
$this->assertResponseContains('<button type="submit">Login</button>');
109109
$this->assertResponseContains('<a href="/register">Register</a>');

0 commit comments

Comments
 (0)