mirror of
https://github.com/flarum/core.git
synced 2025-07-16 14:26:25 +02:00
@ -53,7 +53,7 @@ class ModelTest extends TestCase
|
|||||||
{
|
{
|
||||||
$this->extend(
|
$this->extend(
|
||||||
(new Extend\Model(User::class))
|
(new Extend\Model(User::class))
|
||||||
->hasMany('customRelation', Discussion::class, 'user_id')
|
->hasOne('customRelation', Discussion::class, 'user_id')
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->prepDB();
|
$this->prepDB();
|
||||||
|
Reference in New Issue
Block a user