1 | <?php |
||
2 | |||
3 | namespace VGirol\JsonApiAssert\Laravel; |
||
4 | |||
5 | use VGirol\JsonApiAssert\Assert as JsonApiAssert; |
||
6 | use VGirol\JsonApiAssert\Laravel\Asserts\Content\AssertIncluded; |
||
7 | use VGirol\JsonApiAssert\Laravel\Asserts\Content\AssertJsonapiObject; |
||
8 | use VGirol\JsonApiAssert\Laravel\Asserts\Content\AssertLinks; |
||
9 | use VGirol\JsonApiAssert\Laravel\Asserts\Content\AssertPagination; |
||
10 | use VGirol\JsonApiAssert\Laravel\Asserts\Response\AssertCreated; |
||
11 | use VGirol\JsonApiAssert\Laravel\Asserts\Response\AssertDeleted; |
||
12 | use VGirol\JsonApiAssert\Laravel\Asserts\Response\AssertErrorResponse; |
||
13 | use VGirol\JsonApiAssert\Laravel\Asserts\Response\AssertFetched; |
||
14 | use VGirol\JsonApiAssert\Laravel\Asserts\Response\AssertFetchedCollection; |
||
15 | use VGirol\JsonApiAssert\Laravel\Asserts\Response\AssertFetchedRelationships; |
||
16 | use VGirol\JsonApiAssert\Laravel\Asserts\Response\AssertNoContent; |
||
17 | use VGirol\JsonApiAssert\Laravel\Asserts\Response\AssertUpdated; |
||
18 | |||
19 | /** |
||
20 | * This class provide a set of assertions to test API response using the JSON:API specification. |
||
21 | */ |
||
22 | class Assert extends JsonApiAssert |
||
23 | { |
||
24 | 2 | use AssertErrorResponse; |
|
25 | 2 | use AssertNoContent; |
|
26 | 2 | use AssertCreated; |
|
0 ignored issues
–
show
Bug
introduced
by
![]() |
|||
27 | 2 | use AssertDeleted; |
|
28 | 2 | use AssertUpdated; |
|
29 | 2 | use AssertFetched; |
|
30 | 2 | use AssertFetchedCollection; |
|
31 | 2 | use AssertFetchedRelationships; |
|
32 | |||
33 | 2 | use AssertPagination; |
|
34 | 2 | use AssertLinks; |
|
35 | 2 | use AssertJsonapiObject; |
|
36 | 2 | use AssertIncluded; |
|
37 | } |
||
38 |