diff --git a/framework/core/tests/integration/extenders/ModelTest.php b/framework/core/tests/integration/extenders/ModelTest.php index f649825b8..1884e1594 100644 --- a/framework/core/tests/integration/extenders/ModelTest.php +++ b/framework/core/tests/integration/extenders/ModelTest.php @@ -53,7 +53,7 @@ class ModelTest extends TestCase { $this->extend( (new Extend\Model(User::class)) - ->hasMany('customRelation', Discussion::class, 'user_id') + ->hasOne('customRelation', Discussion::class, 'user_id') ); $this->prepDB();