We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
assertEloquentHasMany
1 parent 6f4dcb5 commit 3853b13Copy full SHA for 3853b13
README.md
@@ -400,14 +400,14 @@ $this->assertEloquentTouchesNotEquals(Comment::class, ['user']);
400
401
#### `assertEloquentHasMany()`
402
403
+> NOTE: In order to use this assertion, you have to create model factories for both classes.
404
+
405
Checks if Eloquent model has specified `HasMany` relation:
406
407
```php
408
$this->assertEloquentHasMany(Post::class, 'comments');
409
```
410
-> NOTE: In order to use this assertion, you have to create model factories for both classes.
-
411
### ExceptionAsserts
412
413
#### `willSeeException()`
0 commit comments