Skip to content

Commit b81bc66

Browse files
committed
fixed return statement to return if status is available
1 parent 84986cc commit b81bc66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/IBM.WatsonDeveloperCloud.SpeechToText.v1.IntegrationTests/SpeechToTextServiceIntegrationTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ private bool IsTrainingComplete()
717717
});
718718
}
719719

720-
return result.Status.ToLower() == "ready";
720+
return result.Status.ToLower() == "ready" || result.Status.ToLower() == "available";
721721
}
722722
}
723723
}

0 commit comments

Comments
 (0)