@@ -59,7 +59,7 @@ public function testCrud()
59
59
$ this ->assertResponseContains ('<a href="/users/view/00000000-0000-0000-0000-000000000001">View</a> ' );
60
60
$ this ->assertResponseContains ('<a href="/users/change-password/00000000-0000-0000-0000-000000000001">Change password</a> ' );
61
61
$ 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" ' );
63
63
$ this ->assertResponseContains ('>Delete< ' );
64
64
65
65
$ this ->assertResponseContains ('<td>user-6</td> ' );
@@ -69,7 +69,7 @@ public function testCrud()
69
69
$ this ->assertResponseContains ('<a href="/users/view/00000000-0000-0000-0000-000000000006">View</a> ' );
70
70
$ this ->assertResponseContains ('<a href="/users/change-password/00000000-0000-0000-0000-000000000006">Change password</a> ' );
71
71
$ 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" ' );
73
73
74
74
$ this ->get ('/users/change-password/00000000-0000-0000-0000-000000000006 ' );
75
75
$ this ->assertFlashMessage ('Changing another user \'s password is not allowed ' );
@@ -95,13 +95,13 @@ public function testCrud()
95
95
96
96
$ this ->get ('/users/edit/00000000-0000-0000-0000-000000000006 ' );
97
97
$ 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" ' );
99
99
$ 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" ' );
101
101
$ this ->assertResponseContains ('<input type="text" name="first_name" id="first-name" value="first-user-6 ' );
102
102
$ this ->assertResponseContains ('<input type="text" name="last_name" id="last-name" value="firts name 6 ' );
103
103
$ 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" ' );
105
105
$ this ->assertResponseContains ('<a href="/users/index">List Users</a> ' );
106
106
107
107
$ this ->enableSecurityToken ();
@@ -124,7 +124,7 @@ public function testCrud()
124
124
$ this ->assertResponseContains ('<a href="/users/edit/00000000-0000-0000-0000-000000000006">Edit User</a> ' );
125
125
$ this ->assertResponseContains ('<a href="/users/add">New User</a> ' );
126
126
$ 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" ' );
128
128
129
129
$ this ->post ('/users/delete/00000000-0000-0000-0000-000000000006 ' );
130
130
$ this ->assertRedirect ('/users/index ' );
0 commit comments