We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd3c091 commit 43cd1a4Copy full SHA for 43cd1a4
src/test/java/com/ibm/watson/developer_cloud/spring/boot/test/WatsonAutoConfigTest.java
@@ -61,9 +61,6 @@ public void watsonBeanConfigFromEnvironment() {
61
assertNotNull(speechToText);
62
assertEquals(url, speechToText.getServiceUrl());
63
64
- assertEquals(Authenticator.AUTHTYPE_BASIC, speechToText.getAuthenticator().authenticationType());
65
- BasicAuthenticator authenticator = (BasicAuthenticator) speechToText.getAuthenticator();
66
- assertEquals(username, authenticator.getUsername());
67
- assertEquals(password, authenticator.getPassword());
+ assertEquals(Authenticator.AUTHTYPE_IAM, speechToText.getAuthenticator().authenticationType());
68
}
69
0 commit comments