fix unit test

This commit is contained in:
Vincent Breitmoser
2017-10-26 17:44:13 +02:00
parent b6236bde59
commit 95034e36b1
2 changed files with 16 additions and 7 deletions

View File

@@ -210,7 +210,8 @@ public class SecurityTokenConnection {
}
}
private void determineTokenType() throws IOException {
@VisibleForTesting
void determineTokenType() throws IOException {
tokenType = mTransport.getTokenTypeIfAvailable();
if (tokenType != null) {
return;