| 1 | <?php |
||
| 2 | |||
| 3 | use Illuminate\Testing\TestResponse; |
||
| 4 | use VGirol\JsonApiAssert\Laravel\Assert; |
||
| 5 | |||
| 6 | 3 | TestResponse::macro( |
|
| 7 | 3 | 'assertJsonApiDeleted', |
|
| 8 | /** |
||
| 9 | * @param array|null $expectedMeta If not null, it is the expected "meta" object. |
||
| 10 | * @param boolean $strict If true, unsafe characters are not allowed when checking members name. |
||
| 11 | * |
||
| 12 | * @return void |
||
| 13 | * @throws \PHPUnit\Framework\AssertionFailedError |
||
| 14 | */ |
||
| 15 | 3 | function ($expectedMeta = null, $strict = false) { |
|
| 16 | 6 | Assert::assertIsDeletedResponse($this, $expectedMeta, $strict); |
|
|
0 ignored issues
–
show
Comprehensibility
Best Practice
introduced
by
Loading history...
|
|||
| 17 | 6 | } |
|
| 18 | ); |
||
| 19 |