Skip to content

Commit

Permalink
test (tld/parsing): cover .BN .CF
Browse files Browse the repository at this point in the history
  • Loading branch information
io-developer committed May 17, 2019
1 parent 0d243a9 commit bd2de60
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Iodev/Whois/Modules/Tld/TldParsingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public function getTestData()

// .BN
[ "free.bn", ".bn/free.txt", null ],
// [ "google.com.bn", ".bn/google.com.bn.txt", ".bn/google.com.bn.json" ],
[ "google.com.bn", ".bn/google.com.bn.txt", ".bn/google.com.bn.json" ],

// .BO
[ "free.bo", ".bo/free.txt", null ],
Expand Down Expand Up @@ -210,7 +210,7 @@ public function getTestData()

// .CF
[ "free.cf", ".cf/free.txt", null ],
// [ "google.cf", ".cf/google.cf.txt", ".cf/google.cf.json" ],
[ "google.cf", ".cf/google.cf.txt", ".cf/google.cf.json" ],

// .CI
[ "free.ci", ".ci/free.txt", null ],
Expand Down
15 changes: 15 additions & 0 deletions tests/Iodev/Whois/Modules/Tld/parsing_data/.bn/google.com.bn.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"domainName": "google.com.bn",
"whoisServer": "",
"nameServers": [
"ns1.google.com",
"ns2.google.com"
],
"creationDate": "2006-11-10T00:00:00",
"expirationDate": "2018-11-13T00:00:00",
"states": [
"ok"
],
"owner": "INTEGRICITY CORPORATION SDN BHD (BNC304T)",
"registrar": "TELEKOM BRUNEI BERHAD"
}
17 changes: 17 additions & 0 deletions tests/Iodev/Whois/Modules/Tld/parsing_data/.cf/google.cf.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"domainName": "google.cf",
"whoisServer": "",
"nameServers": [
"ns1.google.com",
"ns2.google.com",
"ns3.google.com",
"ns4.google.com"
],
"creationDate": "2013-03-27T00:00:00",
"expirationDate": "2018-06-27T00:00:00",
"states": [
"active"
],
"owner": "Google Inc",
"registrar": "Google Inc"
}

0 comments on commit bd2de60

Please sign in to comment.