Skip to content

Commit 0163609

Browse files
committed
Fix failing test
1 parent 809aecb commit 0163609

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/src/Pdp/PublicSuffixListManagerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ public function testGetProvidedListFromDefaultCacheDir()
201201
// By not providing cache I'm forcing use of default cache dir
202202
$listManager = new PublicSuffixListManager();
203203
$publicSuffixList = $listManager->getList();
204-
$this->assertGreaterThanOrEqual(300, count($publicSuffixList));
204+
$this->assertGreaterThanOrEqual(300, count($publicSuffixList->getRules()));
205205
}
206206

207207
private function getMock(string $class)

0 commit comments

Comments
 (0)