Default() {     $user0 = $this->drupalCreateUser();     $user0 = $this->drupalCreateUser();     $this->drupalLogin($user0);      // Create group and group content node types.     $group_type = $this->drupalCreateContentType();     og_create_field(OG_GROUP_FIELD, 'node', $group_type->type);     og_create_field(OG_ACCESS_FIELD, 'node', $group_type->type);      $group_content_type = $this->drupalCreateContentType();     og_create_field(OG_AUDIENCE_FIELD, 'node', $group_content_type->type);     og_create_field(OG_CONTENT_ACCESS_FIELD, 'node', $group_content_type->type);      // Create a group node and enable access.     $settings = array();     $settings['type'] = $group_type->type;     $settings[OG_GROUP_FIELD][LANGUAGE_NONE][0]['value'] = 0;     $settings[OG_ACCESS_FIELD][LANGUAGE_NONE][0]['value'] = 0;      $group_node = $this->drupalCreateNode($settings);     $group = og_get_group('node', $group_node->nid);      // Create a group content node and set default access.     $settings = array();     $settings['type'] = $group_content_type->type;     $settings[OG_AUDIENCE_FIELD][LANGUAGE_NONE][0]['gid'] = $group->gid;     $settings[OG_CONTENT_ACCESS_FIELD][LANGUAGE_NONE][0]['value'] = OG_CONTENT_ACCESS_DEFAULT;     