- $paramsGet = array('organization_id' => $result['values'][0]['organization_id']);
-
- $result = $this->callAPISuccess('group_organization', 'get', $params);
- $this->assertAPISuccess($result);
+ $getParams = array(
+ 'group_id' => $this->_groupID,
+ 'sequential' => 1,
+ );
+ $getResult = $this->callAPISuccess('group_organization', 'get', $getParams);
+ $this->assertEquals($createResult['values'], $getResult['values'][0]);