@@ -59,7 +59,7 @@ public function testCrud()
5959 $ this ->assertResponseContains ('<a href="/users/view/00000000-0000-0000-0000-000000000001">View</a> ' );
6060 $ this ->assertResponseContains ('<a href="/users/change-password/00000000-0000-0000-0000-000000000001">Change password</a> ' );
6161 $ this ->assertResponseContains ('<a href="/users/edit/00000000-0000-0000-0000-000000000001">Edit</a> ' );
62- $ this ->assertResponseContains ('style="display:none;" method="post " action="/users/delete/00000000-0000-0000-0000-000000000001" ' );
62+ $ this ->assertResponseContains ('method="post" style="display:none;" action="/users/delete/00000000-0000-0000-0000-000000000001" ' );
6363 $ this ->assertResponseContains ('>Delete< ' );
6464
6565 $ this ->assertResponseContains ('<td>user-6</td> ' );
@@ -69,7 +69,7 @@ public function testCrud()
6969 $ this ->assertResponseContains ('<a href="/users/view/00000000-0000-0000-0000-000000000006">View</a> ' );
7070 $ this ->assertResponseContains ('<a href="/users/change-password/00000000-0000-0000-0000-000000000006">Change password</a> ' );
7171 $ this ->assertResponseContains ('<a href="/users/edit/00000000-0000-0000-0000-000000000006">Edit</a> ' );
72- $ this ->assertResponseContains ('style="display:none;" method="post " action="/users/delete/00000000-0000-0000-0000-000000000006" ' );
72+ $ this ->assertResponseContains ('method="post" style="display:none;" action="/users/delete/00000000-0000-0000-0000-000000000006" ' );
7373
7474 $ this ->get ('/users/change-password/00000000-0000-0000-0000-000000000006 ' );
7575 $ this ->assertFlashMessage ('Changing another user \'s password is not allowed ' );
@@ -95,13 +95,13 @@ public function testCrud()
9595
9696 $ this ->get ('/users/edit/00000000-0000-0000-0000-000000000006 ' );
9797 $ this ->assertResponseContains ('<input type="text" name="username" required="required ' );
98- $ this ->assertResponseContains ('id="username" aria-required="true" value="user-6" ' );
98+ $ this ->assertResponseContains ('id="username" value="user-6" ' );
9999 $ this ->assertResponseContains ('<input type="email" name="email" required="required ' );
100- $ this ->assertResponseContains ('id="email" aria-required="true" value="6@example.com" ' );
100+ $ this ->assertResponseContains ('id="email" value="6@example.com" ' );
101101 $ this ->assertResponseContains ('<input type="text" name="first_name" id="first-name" value="first-user-6 ' );
102102 $ this ->assertResponseContains ('<input type="text" name="last_name" id="last-name" value="firts name 6 ' );
103103 $ this ->assertResponseContains ('<label for="active"><input type="checkbox" name="active" value="1" id="active" checked="checked">Active</label> ' );
104- $ this ->assertResponseContains ('style="display:none;" method="post " action="/users/delete/00000000-0000-0000-0000-000000000006" ' );
104+ $ this ->assertResponseContains ('method="post" style="display:none;" action="/users/delete/00000000-0000-0000-0000-000000000006" ' );
105105 $ this ->assertResponseContains ('<a href="/users/index">List Users</a> ' );
106106
107107 $ this ->enableSecurityToken ();
@@ -124,7 +124,7 @@ public function testCrud()
124124 $ this ->assertResponseContains ('<a href="/users/edit/00000000-0000-0000-0000-000000000006">Edit User</a> ' );
125125 $ this ->assertResponseContains ('<a href="/users/add">New User</a> ' );
126126 $ this ->assertResponseContains ('<a href="/users/index">List Users</a> ' );
127- $ this ->assertResponseContains ('style="display:none;" method="post " action="/users/delete/00000000-0000-0000-0000-000000000006" ' );
127+ $ this ->assertResponseContains ('method="post" style="display:none;" action="/users/delete/00000000-0000-0000-0000-000000000006" ' );
128128
129129 $ this ->post ('/users/delete/00000000-0000-0000-0000-000000000006 ' );
130130 $ this ->assertRedirect ('/users/index ' );
0 commit comments