Tests for the recurring transaction controller.

This commit is contained in:
James Cole
2014-12-25 08:00:09 +01:00
parent ce27e97b92
commit 230bd6e40a
3 changed files with 140 additions and 3 deletions

View File

@@ -210,7 +210,8 @@ class PiggyBankControllerCest
'post_submit_action' => 'create_another',
'remind_me' => 0,
'order' => 3,
'account_id' => 1, 'targetamount' => 1000]
'account_id' => 1,
'targetamount' => 1000]
);
$I->see('Piggy bank "Some new piggy bank" stored.');
}
@@ -229,7 +230,9 @@ class PiggyBankControllerCest
'reminder_skip' => 0,
'remind_me' => 0,
'order' => 3,
'account_id' => 1, 'targetamount' => 1000]
'account_id' => 1,
'post_submit_action' => 'store',
'targetamount' => 1000]
);
$I->see('Name is too short');
}