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

@@ -234,7 +234,7 @@ class PiggyBankControllerCest
'post_submit_action' => 'store',
'targetamount' => 1000]
);
$I->see('Name is too short');
$I->see('The name field is required.');
}
/**
@@ -324,7 +324,7 @@ class PiggyBankControllerCest
'post_submit_action' => 'update',
]
);
$I->see('Name is too short');
$I->see('The name field is required.');
$I->seeInDatabase('piggy_banks', ['name' => 'New camera']);
}