From a8cd67b5fb71657f17197e130e1729b1ef034f36 Mon Sep 17 00:00:00 2001 From: eileen Date: Wed, 13 Apr 2016 20:43:50 +1200 Subject: [PATCH] Test fix - test was relying on running slowly enough for the second to increment. Use longer gap --- tests/phpunit/api/v3/LoggingTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/api/v3/LoggingTest.php b/tests/phpunit/api/v3/LoggingTest.php index c563e3f7a9..308622cc15 100644 --- a/tests/phpunit/api/v3/LoggingTest.php +++ b/tests/phpunit/api/v3/LoggingTest.php @@ -302,7 +302,7 @@ class api_v3_LoggingTest extends CiviUnitTestCase { 'api.email.create' => array('email' => 'dopey@mail.com')) ); $this->callAPISuccess('Setting', 'create', array('logging_all_tables_uniquid' => FALSE)); - $this->callAPISuccess('Setting', 'create', array('logging_uniqueid_date' => date('Y-m-d H:i:s'))); + $this->callAPISuccess('Setting', 'create', array('logging_uniqueid_date' => date('Y-m-d H:i:s', strtotime('+ 1 hour')))); $this->callAPIFailure( 'Logging', 'revert', -- 2.25.1