1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 19:24:01 +02:00

[ticket/17286] Remove test pauses

PHPBB3-17286
This commit is contained in:
rxu
2024-02-03 09:50:09 +07:00
parent 9401ce1c5f
commit 112392bcf3
2 changed files with 1 additions and 3 deletions

View File

@@ -40,7 +40,6 @@ class phpbb_functional_session_page_update_test extends phpbb_functional_test_ca
self::request('GET', 'index.php');
$this->assertEquals(200, self::$client->getResponse()->getStatus());
sleep(3); // Let SQL do its job
$sql = 'SELECT session_page FROM ' . SESSIONS_TABLE . ' WHERE session_user_id = ' . $user_id . ' ORDER BY session_time DESC';
$db->sql_query_limit($sql, 1);
$this->assertEquals('index.php', $db->sql_fetchfield('session_page'));
@@ -49,7 +48,6 @@ class phpbb_functional_session_page_update_test extends phpbb_functional_test_ca
self::request('GET', 'nonexistent.jpg');
$this->assertEquals(404, self::$client->getResponse()->getStatus());
sleep(3); // Let SQL do its job
$db->sql_query_limit($sql, 1);
// User page should not be updated to non-existent one
$this->assertEquals('index.php', $db->sql_fetchfield('session_page'));