Skip to content

Commit b372dfe

Browse files
committed
Documentation
1 parent 933c2d3 commit b372dfe

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ abstract class TestCase extends BaseTestCase
2727
```
2828

2929
## Assertions
30-
This package adds several assertions helpful when writing [Http Tests](https://laravel.com/docs/http-tests).
30+
This package adds several assertions helpful when writing [HTTP Tests](https://laravel.com/docs/http-tests).
3131

3232

3333
```php
@@ -77,6 +77,14 @@ assertValidationRuleContains($rule, string $class)
7777

7878
Verifies the rule or rules contains an instance of the given [Rule](https://laravel.com/docs/validation#custom-validation-rules) class.
7979

80+
81+
```php
82+
assertViewHasNull($key)
83+
```
84+
85+
Verifies the view data `$key` has an explicit value of `null`. **Note**: is a `TestResponse` assertion. It must be called on the response of a view.
86+
87+
8088
## Matchers
8189
```php
8290
LaravelMatchers::isModel(Model $model = null)

0 commit comments

Comments
 (0)