From 3853b13d6895df98ddea586387ffe339f40aeae8 Mon Sep 17 00:00:00 2001 From: Dmitry Ivanov Date: Wed, 15 Mar 2017 14:31:53 +0200 Subject: [PATCH] ITT: `assertEloquentHasMany` readme info added. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()`