-
Notifications
You must be signed in to change notification settings - Fork 11.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[9.x] Add view data assertions to
TestView
(#43923)
* add view data assertions to `TestView` - `assertViewHas()` - `assertViewHasAll()` - `assertViewMissing()` these methods are all available on the `TestResponse`, but not currently `TestView`. These assertions can be more helpful to test the workings of the component, and not reliant on how the data actually gets displayed on the view side of things. * Update TestView.php Co-authored-by: Taylor Otwell <[email protected]>
- Loading branch information
1 parent
0ec2c41
commit e07e005
Showing
1 changed file
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters