mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Some refactoring.
This commit is contained in:
@@ -34,6 +34,16 @@ class ReminderControllerCest
|
||||
$I->see('Money for Weekly reminder for clothes');
|
||||
}
|
||||
|
||||
/**
|
||||
* @param FunctionalTester $I
|
||||
*/
|
||||
public function actOnInvalid(FunctionalTester $I)
|
||||
{
|
||||
$I->wantTo('act on an invalid reminder');
|
||||
$I->amOnPage('/reminders/2/act');
|
||||
$I->see('This reminder has an invalid class connected to it.');
|
||||
}
|
||||
|
||||
/**
|
||||
* @param FunctionalTester $I
|
||||
*/
|
||||
@@ -65,14 +75,4 @@ class ReminderControllerCest
|
||||
$I->see('your piggy bank labelled "Weekly reminder for clothes"');
|
||||
}
|
||||
|
||||
/**
|
||||
* @param FunctionalTester $I
|
||||
*/
|
||||
public function actOnInvalid(FunctionalTester $I)
|
||||
{
|
||||
$I->wantTo('act on an invalid reminder');
|
||||
$I->amOnPage('/reminders/2/act');
|
||||
$I->see('This reminder has an invalid class connected to it.');
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user