Skip to content

Commit

Permalink
relax deltas for download time in test
Browse files Browse the repository at this point in the history
Signed-off-by: Giuseppe Foti <[email protected]>
  • Loading branch information
MocioF committed Feb 7, 2024
1 parent de4a3e8 commit 817d604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/phpunit/test-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 817d604

Please sign in to comment.