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 43cd1a4 commit 9148be7Copy full SHA for 9148be7
src/test/java/com/ibm/watson/developer_cloud/spring/boot/test/WatsonAutoConfigTest.java
@@ -61,6 +61,9 @@ public void watsonBeanConfigFromEnvironment() {
61
assertNotNull(speechToText);
62
assertEquals(url, speechToText.getServiceUrl());
63
64
- assertEquals(Authenticator.AUTHTYPE_IAM, speechToText.getAuthenticator().authenticationType());
+ assertEquals(Authenticator.AUTHTYPE_BASIC, speechToText.getAuthenticator().authenticationType());
65
+ BasicAuthenticator authenticator = (BasicAuthenticator) speechToText.getAuthenticator();
66
+ assertEquals(username, authenticator.getUsername());
67
+ assertEquals(password, authenticator.getPassword());
68
}
69
0 commit comments