Skip to content

Commit 1ea6857

Browse files
committed
test(text-to-speech-v1): update ITs
1 parent e825419 commit 1ea6857

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

text-to-speech/src/test/java/com/ibm/watson/text_to_speech/v1/TextToSpeechTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,6 @@ public void testAddCustomPromptWOptions() throws Throwable {
901901
.promptId("testString")
902902
.metadata(promptMetadataModel)
903903
.file(TestUtilities.createMockStream("This is a mock file."))
904-
.filename("testString")
905904
.build();
906905

907906
// Invoke operation with valid options model (positive test)

text-to-speech/src/test/java/com/ibm/watson/text_to_speech/v1/model/AddCustomPromptOptionsTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,13 @@ public void testAddCustomPromptOptions() throws Throwable {
4242
.promptId("testString")
4343
.metadata(promptMetadataModel)
4444
.file(TestUtilities.createMockStream("This is a mock file."))
45-
.filename("testString")
4645
.build();
4746
assertEquals(addCustomPromptOptionsModel.customizationId(), "testString");
4847
assertEquals(addCustomPromptOptionsModel.promptId(), "testString");
4948
assertEquals(addCustomPromptOptionsModel.metadata(), promptMetadataModel);
5049
assertEquals(
5150
IOUtils.toString(addCustomPromptOptionsModel.file()),
5251
IOUtils.toString(TestUtilities.createMockStream("This is a mock file.")));
53-
assertEquals(addCustomPromptOptionsModel.filename(), "testString");
5452
}
5553

5654
@Test(expectedExceptions = IllegalArgumentException.class)

0 commit comments

Comments
 (0)