Skip to content

Commit 0dce9eb

Browse files
[12.x] Adds support for multiple models on single assertion call (#10642)
* [12.x] Adds support for multiple models on single assertion call * Update database-testing.md --------- Co-authored-by: Taylor Otwell <[email protected]>
1 parent e010831 commit 0dce9eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

database-testing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ $this->assertNotSoftDeleted($user);
254254
<a name="assert-model-exists"></a>
255255
#### assertModelExists
256256

257-
Assert that a given model exists in the database:
257+
Assert that a given model or collection of models exist in the database:
258258

259259
```php
260260
use App\Models\User;
@@ -267,7 +267,7 @@ $this->assertModelExists($user);
267267
<a name="assert-model-missing"></a>
268268
#### assertModelMissing
269269

270-
Assert that a given model does not exist in the database:
270+
Assert that a given model or collection of models do not exist in the database:
271271

272272
```php
273273
use App\Models\User;

0 commit comments

Comments
 (0)