mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Some fixes for the tests. They'll fail because the factories have been improved. Ergo, more randomness.
This commit is contained in:
@@ -40,15 +40,6 @@ class Transaction extends Ardent
|
||||
'amount' => 'required|between:-65536,65536|not_in:0,0.00',
|
||||
];
|
||||
|
||||
public static $factory
|
||||
= [
|
||||
'account_id' => 'factory|Account',
|
||||
'piggybank_id' => null,
|
||||
'transaction_journal_id' => 'factory|TransactionJournal',
|
||||
'description' => 'string',
|
||||
'amount' => 'integer:5',
|
||||
|
||||
];
|
||||
|
||||
/**
|
||||
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
|
||||
|
Reference in New Issue
Block a user