mirror of
https://github.com/flarum/framework.git
synced 2024-11-26 18:33:40 +08:00
parent
56ef8b4613
commit
4ac4af54e6
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user