Skip to content

Commit a7fecc3

Browse files
committed
remove check for keys
1 parent 67fc5ce commit a7fecc3

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/Illuminate/Foundation/Testing/TestResponse.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,6 @@ protected function jsonSearchStrings($key, $value)
552552
$needle = substr(json_encode([$key => $value]), 1, -1);
553553

554554
return [
555-
$needle.':',
556555
$needle.']',
557556
$needle.'}',
558557
$needle.',',

tests/Foundation/FoundationTestResponseTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,6 @@ public function testAssertJsonFragment()
167167

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

170-
$response->assertJsonFragment(['foobar']);
171-
172170
$response->assertJsonFragment(['foo' => 'bar']);
173171

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

0 commit comments

Comments
 (0)