SHARE
TWEET

Untitled

a guest Jun 19th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // tests
  2.     public function signUpSuccessfull(AcceptanceTester $I)
  3.     {
  4.         $I->fillField('#firstName', 'Carlos');
  5.         $I->fillField('#lastName', 'Alarcón');
  6.         $I->fillField('#Born','1980-05-17');
  7.         $I->selectOption('#country','Chile');
  8.         $I->haveHttpHeader('Content-Type', 'application/json');
  9.         $I->sendPOST('model/currency_model.php', ['country_id' => '1']);
  10.         $I->canSeeResponseCodeIs(200);
  11.         $I->seeResponseIsJson();
  12.         $I->seeInField('#currency', 'Chilean peso');
  13.      }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top