Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -484,4 +484,4 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
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
Expand Up @@ -23,6 +23,7 @@
import com.ibm.cloud.sdk.core.security.BasicAuthenticator;
import com.ibm.cloud.sdk.core.service.exception.ForbiddenException;
import com.ibm.cloud.sdk.core.service.exception.NotFoundException;
import com.ibm.cloud.sdk.core.service.exception.UnauthorizedException;
import com.ibm.watson.assistant.v1.model.*;
import com.ibm.watson.common.RetryRunner;
import io.reactivex.Single;
Expand Down Expand Up @@ -120,7 +121,7 @@ public void accept(Response<MessageResponse> response) throws Exception {
}

/** Ping bad credentials throws exception. */
@Test(expected = ForbiddenException.class)
@Test(expected = UnauthorizedException.class)
public void pingBadCredentialsThrowsException() {
Assistant badService = new Assistant("2019-02-28", new BasicAuthenticator("foo", "bar"));
MessageOptions options = new MessageOptions.Builder(workspaceId).build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
* @version v3
*/
@RunWith(RetryRunner.class)
@Ignore
public class VisualRecognitionIT extends WatsonServiceTest {
private static final String VERSION = "2018-03-19";
private static final String IMAGE_FILE = "src/test/resources/visual_recognition/v3/test.zip";
Expand Down