Fix test to match its description

Refs #2100.
This commit is contained in:
Franz Liedke 2020-04-24 17:31:08 +02:00
parent 56ef8b4613
commit 4ac4af54e6

View File

@ -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();