mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
New content and a fix for the bill controller.
This commit is contained in:
parent
6d03ddadcc
commit
4c2938c5cd
@ -263,6 +263,22 @@ class TestContentSeeder extends Seeder
|
||||
]
|
||||
);
|
||||
|
||||
// bill
|
||||
$thirdBill = \Bill::create(
|
||||
[
|
||||
'user_id' => $user->id,
|
||||
'name' => 'Something something',
|
||||
'match' => 'mumble,mumble',
|
||||
'amount_min' => 500,
|
||||
'amount_max' => 700,
|
||||
'date' => '2014-01-01',
|
||||
'active' => 0,
|
||||
'automatch' => 1,
|
||||
'repeat_freq' => 'monthly',
|
||||
'skip' => 0,
|
||||
]
|
||||
);
|
||||
|
||||
|
||||
// create some expense accounts.
|
||||
$albert = Account::create(['user_id' => $user->id, 'account_type_id' => $expenseType->id, 'name' => 'Albert Heijn', 'active' => 1]);
|
||||
|
@ -92,7 +92,7 @@ class BillControllerCest
|
||||
public function rescanInactive(FunctionalTester $I)
|
||||
{
|
||||
$I->wantTo('rescan an inactive bill');
|
||||
$I->amOnPage('/bills/rescan/2');
|
||||
$I->amOnPage('/bills/rescan/3');
|
||||
$I->see('Inactive bills cannot be scanned.');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user