mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-05-04 05:06:37 +00:00
New tests.
This commit is contained in:
@@ -58,6 +58,8 @@ class PiggyBankControllerCest
|
||||
$I->wantTo('destroy a piggy bank');
|
||||
$I->amOnPage('/piggybanks/delete/1');
|
||||
$I->see('Delete "New camera"');
|
||||
$I->submitForm('#destroy', []);
|
||||
$I->see('Piggy bank "New camera" deleted.');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -70,6 +72,16 @@ class PiggyBankControllerCest
|
||||
$I->see('Edit piggy bank "New camera"');
|
||||
}
|
||||
|
||||
/**
|
||||
* @param FunctionalTester $I
|
||||
*/
|
||||
public function editWithTargetDate(FunctionalTester $I)
|
||||
{
|
||||
$I->wantTo('edit a piggy bank with a target date');
|
||||
$I->amOnPage('/piggybanks/edit/2');
|
||||
$I->see('Edit piggy bank "New clothes"');
|
||||
}
|
||||
|
||||
/**
|
||||
* @param FunctionalTester $I
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user