From 8de8cbab5e8c0beb4ee621a8527fd989e608e497 Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Wed, 9 Jul 2014 00:12:57 +0200 Subject: [PATCH] [ticket/12818] Use assertGreaterThanOrEqual in the tests PHPBB3-12818 --- tests/functional/mcp_test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/mcp_test.php b/tests/functional/mcp_test.php index 67bb8ea24a..40615d66a5 100644 --- a/tests/functional/mcp_test.php +++ b/tests/functional/mcp_test.php @@ -69,7 +69,7 @@ class phpbb_functional_mcp_test extends phpbb_functional_test_case { $this->login(); $crawler = self::request('GET', "mcp.php?i=mcp_logs&mode=front&sid={$this->sid}"); - $this->assertCount(1, $crawler->filter('input[type=checkbox]')); + $this->assertGreaterThanOrEqual(1, $crawler->filter('input[type=checkbox]')->count()); $this->add_lang('mcp'); $form = $crawler->selectButton($this->lang('DELETE_ALL'))->form();