From 817d604dfb3a2a68f66d2d53a9d3778e5f50b1b1 Mon Sep 17 00:00:00 2001 From: Giuseppe Foti Date: Wed, 7 Feb 2024 01:33:07 +0100 Subject: [PATCH] relax deltas for download time in test Signed-off-by: Giuseppe Foti --- tests/phpunit/test-admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/test-admin.php b/tests/phpunit/test-admin.php index 7c7f9a2..9ff3bec 100644 --- a/tests/phpunit/test-admin.php +++ b/tests/phpunit/test-admin.php @@ -97,7 +97,7 @@ public function test_gcmi_update_table($input) { gcmi_update_table($input); $option_name = 'gcmi_' . $input . '_downloaded_time'; $real_downloaded_time = get_option($option_name); - $this->assertEqualsWithDelta($now, $real_downloaded_time, 3); + $this->assertEqualsWithDelta($now, $real_downloaded_time, 30); } public function test_gcmi_admin_enqueue_scripts() {