test -fix on test set-up (group contact)
authorEileen McNaughton <eileen@fuzion.co.nz>
Tue, 4 Feb 2014 00:53:56 +0000 (13:53 +1300)
committerEileen McNaughton <eileen@fuzion.co.nz>
Tue, 4 Feb 2014 00:53:56 +0000 (13:53 +1300)
tests/phpunit/api/v3/GroupContactTest.php

index 2eb844fbe0c1c84fb002cde8678ec3046610c21a..ef31e3b50d8c10086202f64d14c678fcd382d401 100644 (file)
@@ -70,7 +70,7 @@ class api_v3_GroupContactTest extends CiviUnitTestCase {
       'visibility' => 'User and User Admin Only',
     );
 
-    $this->_groupId2 = $this->groupCreate();
+    $this->_groupId2 = $this->groupCreate($group);
     $params = array(
       'contact_id.1' => $this->_contactId,
       'group_id' => $this->_groupId2,