mirror of
https://github.com/flarum/framework.git
synced 2025-03-10 12:21:11 +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…
x
Reference in New Issue
Block a user