Skip to content

Commit 8f7b6fd

Browse files
committed
Remove unnecessary error check in tests
1 parent 162828c commit 8f7b6fd

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/IPinfoTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,10 +225,6 @@ public function testNetworkDetails()
225225
$h = new IPinfo($tok);
226226
$res = $h->getDetails('AS123');
227227

228-
if ($res->error === "Token does not have access to this API") {
229-
$this->markTestSkipped('Token does not have access to this API');
230-
}
231-
232228
$this->assertEquals($res->asn, 'AS123');
233229
$this->assertEquals($res->name, 'Air Force Systems Networking');
234230
$this->assertEquals($res->country, 'US');

0 commit comments

Comments
 (0)