diff --git a/tests/functional/extension_acp_test.php b/tests/functional/extension_acp_test.php index fad457e0cb..932e28f86e 100644 --- a/tests/functional/extension_acp_test.php +++ b/tests/functional/extension_acp_test.php @@ -263,10 +263,7 @@ class phpbb_functional_extension_acp_test extends phpbb_functional_test_case $crawler = self::request('GET', 'adm/index.php?i=acp_extensions&mode=catalog&sid=' . $this->sid); $this->assertContainsLang('ACP_EXTENSIONS_CATALOG', $this->get_content()); - // Ensure catalog has 20 records (by default) in extensions list - $records_per_page = 20; - $this->assertEquals($records_per_page, $crawler->filter('tbody > tr > td > strong')->count()); - $this->assertNotEmpty($crawler->filter('tbody > tr > td > strong')->eq(0)->text()); - $this->assertNotEmpty($crawler->filter('tbody > tr > td > strong')->eq($records_per_page - 1)->text()); + // Ensure catalog has any records in extensions list + $this->assertGreaterThan(0, $crawler->filter('tbody > tr > td > strong')->count()); } }