From 33cf94c19246a1257c6dd49166fd0402933d55d9 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. --- tests/integration/extenders/ModelTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/extenders/ModelTest.php b/tests/integration/extenders/ModelTest.php index f649825b8..1884e1594 100644 --- a/tests/integration/extenders/ModelTest.php +++ b/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();