mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-10 12:24:50 +00:00
Some more tests, don't know if they'll cover.
This commit is contained in:
@@ -14,6 +14,11 @@ class Component extends Firefly\Database\SingleTableInheritanceEntity
|
||||
protected $table = 'components';
|
||||
protected $subclassField = 'class';
|
||||
|
||||
public static $factory = [
|
||||
'name' => 'string',
|
||||
'user_id' => 'factory|User',
|
||||
];
|
||||
|
||||
public function transactions()
|
||||
{
|
||||
return $this->belongsToMany('Transaction');
|
||||
|
||||
Reference in New Issue
Block a user