mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-10 20:34:48 +00:00
Some experimental model tests.
This commit is contained in:
@@ -9,6 +9,12 @@ class Preference extends Elegant
|
||||
'data' => 'required'
|
||||
];
|
||||
|
||||
public static $factory = [
|
||||
'user_id' => 'factory|User',
|
||||
'name' => 'string',
|
||||
'data' => 'string'
|
||||
];
|
||||
|
||||
public function user()
|
||||
{
|
||||
return $this->belongsTo('User');
|
||||
|
||||
Reference in New Issue
Block a user