-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ecccbb1
commit febe4dc
Showing
5 changed files
with
22 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,20 @@ | |
|
||
class eppCreateContactTest extends eppTestCase { | ||
|
||
public function testClientCreateContact() { | ||
$name = 'jay'; | ||
$city = 'Amsterdam'; | ||
$country = 'NL'; | ||
$organization = null; | ||
$address= 'Pomme1'; | ||
$postcode = '7905BA'; | ||
$telephone = '+31.612413333'; | ||
$email = '[email protected]'; | ||
$contactinfo = new Metaregistrar\EPP\eppContact(new Metaregistrar\EPP\EppContactPostalInfo($name, $city, $country, $organization, $address, null, $postcode, Metaregistrar\EPP\eppContact::TYPE_LOC), $email, $telephone); | ||
$response = $this->conn->request(new \Metaregistrar\EPP\eppCreateContactRequest($contactinfo)); | ||
$this->assertEquals('1000',$response->getResultCode()); | ||
} | ||
|
||
public function testCreateContact() { | ||
$name = 'Test name'; | ||
$city = 'Test city'; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters