diff --git a/README.md b/README.md index ff574d4..6b71ebd 100644 --- a/README.md +++ b/README.md @@ -400,14 +400,14 @@ $this->assertEloquentTouchesNotEquals(Comment::class, ['user']); #### `assertEloquentHasMany()` +> NOTE: In order to use this assertion, you have to create model factories for both classes. + Checks if Eloquent model has specified `HasMany` relation: ```php $this->assertEloquentHasMany(Post::class, 'comments'); ``` -> NOTE: In order to use this assertion, you have to create model factories for both classes. - ### ExceptionAsserts #### `willSeeException()`