We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33c9409 commit 4a4678fCopy full SHA for 4a4678f
tests/src/Pdp/CheckPublicSuffixTest.php
@@ -64,10 +64,10 @@ public function testPublicSuffixSpec()
64
$this->checkPublicSuffix('a.b.example.uk.com', 'example.uk.com');
65
$this->checkPublicSuffix('test.ac', 'test.ac');
66
// TLD with only 1 (wildcard) rule.
67
- $this->checkPublicSuffix('cy', null);
68
- $this->checkPublicSuffix('c.cy', null);
69
- $this->checkPublicSuffix('b.c.cy', 'b.c.cy');
70
- $this->checkPublicSuffix('a.b.c.cy', 'b.c.cy');
+ $this->checkPublicSuffix('mm', null);
+ $this->checkPublicSuffix('c.mm', null);
+ $this->checkPublicSuffix('b.c.mm', 'b.c.mm');
+ $this->checkPublicSuffix('a.b.c.mm', 'b.c.mm');
71
// More complex TLD.
72
$this->checkPublicSuffix('jp', null);
73
$this->checkPublicSuffix('test.jp', 'test.jp');
tests/src/Pdp/ParserTest.php
@@ -189,7 +189,7 @@ public function parseDataProvider()
189
array('cea-law.co.il', 'co.il', 'cea-law.co.il', null, 'cea-law.co.il'),
190
array('http://edition.cnn.com/WORLD/', 'com', 'cnn.com', 'edition', 'edition.cnn.com'),
191
array('http://en.wikipedia.org/', 'org', 'wikipedia.org', 'en', 'en.wikipedia.org'),
192
- array('a.b.c.cy', 'c.cy', 'b.c.cy', 'a', 'a.b.c.cy'),
+ array('a.b.c.mm', 'c.mm', 'b.c.mm', 'a', 'a.b.c.mm'),
193
array('https://test.k12.ak.us', 'k12.ak.us', 'test.k12.ak.us', null, 'test.k12.ak.us'),
194
array('www.scottwills.co.uk', 'co.uk', 'scottwills.co.uk', 'www', 'www.scottwills.co.uk'),
195
array('b.ide.kyoto.jp', 'ide.kyoto.jp', 'b.ide.kyoto.jp', null, 'b.ide.kyoto.jp'),
0 commit comments