Skip to content

Commit

Permalink
fix: enhance the serializer tests
Browse files Browse the repository at this point in the history
  • Loading branch information
binaryk committed Dec 30, 2023
1 parent e04841e commit 75c0ada
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Repositories/RepositorySerializerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ public function test_can_manually_serialize_repository(): void
$assertable
->has('meta')
->has('data')
->has('data.0.relationships.user')
->where('data.0.type', 'posts')
->count('data', 20)
->etc();
}
Expand Down

0 comments on commit 75c0ada

Please sign in to comment.