|
@@ -22,15 +22,15 @@ |
|
|
block discarded – undo |
|
22
|
22
|
{ |
|
23
|
23
|
$trait = $this; |
|
24
|
24
|
|
|
25
|
|
- TestResponse::macro('seeJsonStructureEquals', function ($structure) use ($trait) { |
|
|
25
|
+ TestResponse::macro('seeJsonStructureEquals', function($structure) use ($trait) { |
|
26
|
26
|
return $trait->seeJsonStructureEquals($structure, $this->decodeResponseJson()); |
|
27
|
27
|
}); |
|
28
|
28
|
|
|
29
|
|
- TestResponse::macro('seeJsonTypedStructure', function ($structure) use ($trait) { |
|
|
29
|
+ TestResponse::macro('seeJsonTypedStructure', function($structure) use ($trait) { |
|
30
|
30
|
return $trait->seeJsonTypedStructure($structure, $this->decodeResponseJson()); |
|
31
|
31
|
}); |
|
32
|
32
|
|
|
33
|
|
- TestResponse::macro('jsonResponse', function ($key = null) use ($trait) { |
|
|
33
|
+ TestResponse::macro('jsonResponse', function($key = null) use ($trait) { |
|
34
|
34
|
return $trait->jsonResponse($key, $this->decodeResponseJson()); |
|
35
|
35
|
}); |
|
36
|
36
|
} |
Please login to merge, or discard this patch.