mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 04:31:57 +08:00
parent
036e519865
commit
33cf94c192
@ -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