1 | <?php |
||
2 | |||
3 | use Illuminate\Testing\TestResponse; |
||
4 | use VGirol\JsonApiAssert\Laravel\Assert; |
||
5 | |||
6 | 3 | TestResponse::macro( |
|
7 | 3 | 'assertJsonApiNoContent', |
|
8 | /** |
||
9 | * @return void |
||
10 | * @throws \PHPUnit\Framework\AssertionFailedError |
||
11 | */ |
||
12 | 3 | function () { |
|
13 | 6 | Assert::assertIsNoContentResponse($this); |
|
0 ignored issues
–
show
Comprehensibility
Best Practice
introduced
by
![]() |
|||
14 | 6 | } |
|
15 | ); |
||
16 |