Skip to content

Commit

Permalink
remove check for keys
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Aug 3, 2018
1 parent 67fc5ce commit a7fecc3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/Illuminate/Foundation/Testing/TestResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,6 @@ protected function jsonSearchStrings($key, $value)
$needle = substr(json_encode([$key => $value]), 1, -1);

return [
$needle.':',
$needle.']',
$needle.'}',
$needle.',',
Expand Down
2 changes: 0 additions & 2 deletions tests/Foundation/FoundationTestResponseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,6 @@ public function testAssertJsonFragment()

$response = TestResponse::fromBaseResponse(new Response(new JsonSerializableMixedResourcesStub));

$response->assertJsonFragment(['foobar']);

$response->assertJsonFragment(['foo' => 'bar']);

$response->assertJsonFragment(['foobar_foo' => 'foo']);
Expand Down

0 comments on commit a7fecc3

Please sign in to comment.