Fixed the tests [skip ci]

This commit is contained in:
James Cole
2014-12-30 15:24:10 +01:00
parent b451e207e2
commit eedf27f8a5
2 changed files with 3 additions and 2 deletions

View File

@@ -321,6 +321,7 @@ class PiggyBankController extends BaseController
$data['order'] = 0;
$data['remind_me'] = isset($data['remind_me']) ? 1 : 0;
$data['user_id'] = Auth::user()->id;
$data['repeats'] = 0;
// always validate:
$messages = $this->_repository->validate($data);