@@ -24,8 +24,8 @@ |
||
24 | 24 | $basePath = Config::get('json-schema-assertions.schema_base_path'); |
25 | 25 | |
26 | 26 | (new SchemaAssertion($basePath)) |
27 | - ->schema($schema) |
|
28 | - ->assert($this->content()); |
|
27 | + ->schema($schema) |
|
28 | + ->assert($this->content()); |
|
29 | 29 | |
30 | 30 | return $this; |
31 | 31 | }); |
@@ -20,7 +20,7 @@ |
||
20 | 20 | ], 'config'); |
21 | 21 | } |
22 | 22 | |
23 | - TestResponse::macro('assertJsonSchema', function ($schema) { |
|
23 | + TestResponse::macro('assertJsonSchema', function($schema) { |
|
24 | 24 | $basePath = Config::get('json-schema-assertions.schema_base_path'); |
25 | 25 | |
26 | 26 | (new SchemaAssertion($basePath)) |