Skip to content

Commit

Permalink
🐛 Use CLEARTEXT for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
germanattanasio committed Mar 31, 2017
1 parent cf58894 commit 74cae1b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import java.io.IOException;
import java.net.CookieManager;
import java.net.CookiePolicy;
import java.util.Collections;
import java.util.Arrays;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import java.util.logging.Level;
Expand Down Expand Up @@ -133,7 +133,7 @@ protected OkHttpClient configureHttpClient() {
.allEnabledCipherSuites()
.build();

builder.connectionSpecs(Collections.singletonList(spec));
builder.connectionSpecs(Arrays.asList(spec, ConnectionSpec.CLEARTEXT));

return builder.build();
}
Expand Down

0 comments on commit 74cae1b

Please sign in to comment.