parent::setUp();
}
- function testEditContact() {
+ public function testEditContact() {
// Log in using webtestLogin() method
$this->webtestLogin();
$firstName = 'WebTest' . substr(sha1(rand()), 0, 7);
$lastName = 'ContactEdit' . substr(sha1(rand()), 0, 7);
$this->openCiviPage("contact/add", "reset=1&ct=Individual");
- $this->type("first_name",$firstName);
- $this->type("last_name",$lastName);
+ $this->type("first_name", $firstName);
+ $this->type("last_name", $lastName);
//fill in phone 1
$this->type("phone_1_phone", "111113333");
$this->type("phone_2_phone_ext", "111");
$this->select('phone_2_location_type_id', 'value=3');
- //Edit in phone 3
+ //Edit in phone 3
$this->type("phone_3_phone", "777777699");
$this->type("phone_3_phone_ext", "197");
$this->select('phone_3_location_type_id', 'value=1');