diff --git a/src/test/java/io/cdap/plugin/successfactors/source/transport/SuccessFactorsTransporterTest.java b/src/test/java/io/cdap/plugin/successfactors/source/transport/SuccessFactorsTransporterTest.java index 012fb84..90c05df 100644 --- a/src/test/java/io/cdap/plugin/successfactors/source/transport/SuccessFactorsTransporterTest.java +++ b/src/test/java/io/cdap/plugin/successfactors/source/transport/SuccessFactorsTransporterTest.java @@ -69,8 +69,8 @@ public class SuccessFactorsTransporterTest { public static void classSetup() { new MockUp() { @Mock - public OkHttpClient.Builder buildConfiguredClient(String proxyUrl, String proxyUsername, String proxyPassword) { - return allowAllSSL(); + public OkHttpClient buildConfiguredClient(String proxyUrl, String proxyUsername, String proxyPassword) { + return allowAllSSL().build(); } }; }