File tree Expand file tree Collapse file tree 2 files changed +0
-3
lines changed
text-to-speech/src/test/java/com/ibm/watson/text_to_speech/v1 Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Original file line number Diff line number Diff 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)
Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments