Skip to content

Commit f0e015b

Browse files
Merge branch 'master' into blake
2 parents 33008d3 + 907d56d commit f0e015b

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

discovery/src/main/java/com/ibm/watson/developer_cloud/discovery/v1/model/configuration/Heading.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ public class Heading extends GenericModel {
2828
@SerializedName(ConfigurationManager.FONT_SETTINGS)
2929
private List<FontSetting> fontSettings;
3030
@SerializedName(ConfigurationManager.FONT_STYLES)
31-
private FontStyles fontStyles;
31+
private List<FontStyles> fontStyles;
3232

3333
public List<FontSetting> getFontSettings() {
3434
return fontSettings;
3535
}
3636

37-
public FontStyles getFontStyles() {
37+
public List<FontStyles> getFontStyles() {
3838
return fontStyles;
3939
}
4040
}

discovery/src/test/java/com/ibm/watson/developer_cloud/discovery/v1/DiscoveryServiceTest.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -163,14 +163,11 @@ public void setup() throws Exception {
163163
createEnvResp = loadFixture(RESOURCE + "create_env_resp.json", CreateEnvironmentResponse.class);
164164
deleteEnvResp = loadFixture(RESOURCE + "delete_env_resp.json", DeleteEnvironmentResponse.class);
165165
updateEnvResp = loadFixture(RESOURCE + "update_env_resp.json", UpdateEnvironmentResponse.class);
166-
// issue with the create_conf json which was copied from the API documentation. Use create_env for now bug #528
167-
createConfResp = loadFixture(RESOURCE + "create_env_resp.json", CreateConfigurationResponse.class);
166+
createConfResp = loadFixture(RESOURCE + "create_conf_resp.json", CreateConfigurationResponse.class);
168167
getConfsResp = loadFixture(RESOURCE + "get_confs_resp.json", GetConfigurationsResponse.class);
169-
// #528 - should be get_conf_resp
170-
getConfResp = loadFixture(RESOURCE + "get_confs_resp.json", GetConfigurationResponse.class);
168+
getConfResp = loadFixture(RESOURCE + "get_conf_resp.json", GetConfigurationResponse.class);
171169
deleteConfResp = loadFixture(RESOURCE + "delete_conf_resp.json", DeleteConfigurationResponse.class);
172-
// #528 - should be update_conf_resp
173-
updateConfResp = loadFixture(RESOURCE + "delete_conf_resp.json", UpdateConfigurationResponse.class);
170+
updateConfResp = loadFixture(RESOURCE + "update_conf_resp.json", UpdateConfigurationResponse.class);
174171
createCollResp = loadFixture(RESOURCE + "create_coll_resp.json", CreateCollectionResponse.class);
175172
getCollsResp = loadFixture(RESOURCE + "get_coll_resp.json", GetCollectionsResponse.class);
176173
getCollResp = loadFixture(RESOURCE + "get_coll1_resp.json", GetCollectionResponse.class);

0 commit comments

Comments
 (0)