File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
assistant/src/test/java/com/ibm/watson/assistant/v1
visual-recognition/src/test/java/com/ibm/watson/visual_recognition/v3 Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -484,4 +484,4 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
484484<!-- prettier-ignore-end -->
485485<!-- ALL-CONTRIBUTORS-LIST:END -->
486486
487- This project follows the [ all-contributors] ( https://github.com/all-contributors/all-contributors ) specification. Contributions of any kind welcome!
487+ This project follows the [ all-contributors] ( https://github.com/all-contributors/all-contributors ) specification. Contributions of any kind welcome!
Original file line number Diff line number Diff line change 2323import com .ibm .cloud .sdk .core .security .BasicAuthenticator ;
2424import com .ibm .cloud .sdk .core .service .exception .ForbiddenException ;
2525import com .ibm .cloud .sdk .core .service .exception .NotFoundException ;
26+ import com .ibm .cloud .sdk .core .service .exception .UnauthorizedException ;
2627import com .ibm .watson .assistant .v1 .model .*;
2728import com .ibm .watson .common .RetryRunner ;
2829import io .reactivex .Single ;
@@ -120,7 +121,7 @@ public void accept(Response<MessageResponse> response) throws Exception {
120121 }
121122
122123 /** Ping bad credentials throws exception. */
123- @ Test (expected = ForbiddenException .class )
124+ @ Test (expected = UnauthorizedException .class )
124125 public void pingBadCredentialsThrowsException () {
125126 Assistant badService = new Assistant ("2019-02-28" , new BasicAuthenticator ("foo" , "bar" ));
126127 MessageOptions options = new MessageOptions .Builder (workspaceId ).build ();
Original file line number Diff line number Diff line change 5151 * @version v3
5252 */
5353@ RunWith (RetryRunner .class )
54+ @ Ignore
5455public class VisualRecognitionIT extends WatsonServiceTest {
5556 private static final String VERSION = "2018-03-19" ;
5657 private static final String IMAGE_FILE = "src/test/resources/visual_recognition/v3/test.zip" ;
You can’t perform that action at this time.
0 commit comments