diff options
| author | Tristan Darricau <github@nicofuma.fr> | 2014-07-09 00:12:57 +0200 |
|---|---|---|
| committer | Tristan Darricau <github@nicofuma.fr> | 2014-07-09 00:12:57 +0200 |
| commit | 8de8cbab5e8c0beb4ee621a8527fd989e608e497 (patch) | |
| tree | 85b5b3236b6347176fa3d1fce24e4d3d3e2f29af /tests/functional | |
| parent | de1da3170cf814f3a45c6594dc3ca4f908d35a5e (diff) | |
| download | forums-8de8cbab5e8c0beb4ee621a8527fd989e608e497.tar forums-8de8cbab5e8c0beb4ee621a8527fd989e608e497.tar.gz forums-8de8cbab5e8c0beb4ee621a8527fd989e608e497.tar.bz2 forums-8de8cbab5e8c0beb4ee621a8527fd989e608e497.tar.xz forums-8de8cbab5e8c0beb4ee621a8527fd989e608e497.zip | |
[ticket/12818] Use assertGreaterThanOrEqual in the tests
PHPBB3-12818
Diffstat (limited to 'tests/functional')
| -rw-r--r-- | tests/functional/mcp_test.php | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |
