Skip to content

Commit 163c9df

Browse files
committed
Document new assertion
1 parent 089ef26 commit 163c9df

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ 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+
```php
81+
assertNotSoftDeleted(Model $model)
82+
```
83+
84+
Verifies the given model is not _soft deleted_, providing the inverse of [assertSoftDeleted](https://laravel.com/docs/database-testing#available-assertions).
8085

8186
## Matchers
8287
```php

0 commit comments

Comments
 (0)