From: eileen Date: Wed, 13 Apr 2016 08:43:50 +0000 (+1200) Subject: Test fix - test was relying on running slowly enough for the second to increment... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=a8cd67b5fb71657f17197e130e1729b1ef034f36;p=civicrm-core.git Test fix - test was relying on running slowly enough for the second to increment. Use longer gap --- 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',