private function createGroup($ownerID) { // Create new group owned by another $xml = new \SimpleXMLElement('<group/>'); $xml['owner'] = $ownerID; $xml['name'] = 'Test'; $xml['type'] = 'Private'; $xml['libraryEditing'] = 'admins'; $xml['libraryReading'] = 'members'; $xml['fileEditing'] = 'admins'; $xml['description'] = 'This is a description'; $xml['url'] = ''; $xml['hasImage'] = 0; $xml = $xml->asXML(); $response = API::superPost('groups', $xml); $this->assert201($response); return $response; }