[ticket/12818] Use assertGreaterThanOrEqual in the tests

PHPBB3-12818
This commit is contained in:
Tristan Darricau 2014-07-09 00:12:57 +02:00
parent de1da3170c
commit 8de8cbab5e

View file

@ -69,7 +69,7 @@ class phpbb_functional_mcp_test extends phpbb_functional_test_case
{ {
$this->login(); $this->login();
$crawler = self::request('GET', "mcp.php?i=mcp_logs&mode=front&sid={$this->sid}"); $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'); $this->add_lang('mcp');
$form = $crawler->selectButton($this->lang('DELETE_ALL'))->form(); $form = $crawler->selectButton($this->lang('DELETE_ALL'))->form();