From 4ac4af54e6fd3db7de6b75ed073d77b37e018943 Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Fri, 24 Apr 2020 17:31:08 +0200 Subject: [PATCH] Fix test to match its description Refs #2100. --- framework/core/tests/integration/extenders/ModelTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();