Let's highlight some new features in this release:
assertJsonPath()first, the TestResponse class appears to be really useful for specifying values in a JSON response by using a point representation for nested properties one claim added:
Then, three new access methods were added to the Eloquent builder for the ease of claiming whether a constructor class has global/local macros:
$this->getJson(route)'api.post.show', [$post->id])) ->assertJsonPath('tags', ) ->assertJsonPath('comments.0.user.username', 'ecrmnnn') ->assertJsonPath('comments.*.body', [ 'First!', 'This is my comment', ]);
BelongsToMany© Copyright 2021. All Rights Reserved. My feedRelationship added another access method :
These features work backwards and add only an alternative way to define arguments and options.