mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/17195] Stop artifically slowing down functional tests
PHPBB3-17195
This commit is contained in:
parent
54ea9e0aef
commit
0a395ebb6d
1 changed files with 0 additions and 8 deletions
|
@ -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());
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue