File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -154,15 +154,15 @@ public function it_does_not_allow_search_on_added_columns()
154
154
}
155
155
156
156
/** @test */
157
- public function it_does_not_allow_raw_html_on_non_closure_added_columns ()
157
+ public function it_does_not_allow_raw_html_on_added_columns ()
158
158
{
159
159
$ json = $ this ->call ('GET ' , '/query/xss-add ' )->json ();
160
160
$ this ->assertNotEquals ('<a href="#">Allowed</a> ' , $ json ['data ' ][0 ]['foo ' ]);
161
161
$ this ->assertNotEquals ('<a href="#">Allowed</a> ' , $ json ['data ' ][0 ]['bar ' ]);
162
162
}
163
163
164
164
/** @test */
165
- public function it_does_not_allow_raw_html_on_non_closure_edited_columns ()
165
+ public function it_does_not_allow_raw_html_on_edited_columns ()
166
166
{
167
167
$ json = $ this ->call ('GET ' , '/query/xss-edit ' )->json ();
168
168
$ this ->assertNotEquals ('<a href="#">Allowed</a> ' , $ json ['data ' ][0 ]['name ' ]);
You can’t perform that action at this time.
0 commit comments