Commit d7a2d315 authored by eileen's avatar eileen

Attempt to fix test with 1 second delay

(note in 'real life' the events are not generally so close together
parent c7b43c69
......@@ -412,6 +412,9 @@ class api_v3_LoggingTest extends CiviUnitTestCase {
$contactId = $this->individualCreate();
$this->callAPISuccess('Setting', 'create', array('logging' => TRUE));
CRM_Core_DAO::executeQuery("SET @uniqueID = 'wooty wop wop'");
// Perhaps if initialize & create are exactly the same time it can't cope.
// 1 second delay
$this->callAPISuccess('Contact', 'create', array(
'id' => $contactId,
'first_name' => 'Dopey',
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment