Skip to content

Commit 9148be7

Browse files
committed
test(watson-auto-config-test): undo test change on WatsonAutoConfigTest
1 parent 43cd1a4 commit 9148be7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/test/java/com/ibm/watson/developer_cloud/spring/boot/test/WatsonAutoConfigTest.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ public void watsonBeanConfigFromEnvironment() {
6161
assertNotNull(speechToText);
6262
assertEquals(url, speechToText.getServiceUrl());
6363

64-
assertEquals(Authenticator.AUTHTYPE_IAM, speechToText.getAuthenticator().authenticationType());
64+
assertEquals(Authenticator.AUTHTYPE_BASIC, speechToText.getAuthenticator().authenticationType());
65+
BasicAuthenticator authenticator = (BasicAuthenticator) speechToText.getAuthenticator();
66+
assertEquals(username, authenticator.getUsername());
67+
assertEquals(password, authenticator.getPassword());
6568
}
6669
}

0 commit comments

Comments
 (0)