diff --git a/tests/test_framework/phpbb_functional_test_case.php b/tests/test_framework/phpbb_functional_test_case.php index a5b16082ff..18fe2bbf38 100644 --- a/tests/test_framework/phpbb_functional_test_case.php +++ b/tests/test_framework/phpbb_functional_test_case.php @@ -48,7 +48,6 @@ class phpbb_functional_test_case extends phpbb_test_case protected static $config = array(); protected static $already_installed = false; - protected static $last_post_timestamp = 0; static public function setUpBeforeClass(): void { @@ -1301,13 +1300,6 @@ class phpbb_functional_test_case extends phpbb_test_case */ protected function submit_message($posting_url, $posting_contains, $form_data) { - if (time() == self::$last_post_timestamp) - { - // Travis is too fast, so we have to wait to not mix up the post/topic order - sleep(1); - } - self::$last_post_timestamp = time(); - $crawler = self::request('GET', $posting_url); $this->assertStringContainsString($this->lang($posting_contains), $crawler->filter('html')->text());