jeudi 28 juillet 2016

Codeception invoke exception after models save failure

Is possible something like this?

$I->sendPOST($path . "/api/v1/study/create");

invoke exception after models save failure in my yii2 controller action and return 400;

$I->seeResponseCodeIs(400);

Aucun commentaire:

Enregistrer un commentaire