diff --git a/build.gradle b/build.gradle index 2cf14edd2..81178ec64 100644 --- a/build.gradle +++ b/build.gradle @@ -28,7 +28,7 @@ dependencies { // Use JUnit test framework testImplementation 'junit:junit:4.13' - api 'com.squareup.okhttp3:okhttp:3.12.1' + api 'com.squareup.okhttp3:okhttp:4.8.1' // https://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple implementation group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1' diff --git a/src/test/java/com/microsoft/graph/httpcore/AuthenticationHandlerTest.java b/src/test/java/com/microsoft/graph/httpcore/AuthenticationHandlerTest.java index 7f5feba6f..601cb4427 100644 --- a/src/test/java/com/microsoft/graph/httpcore/AuthenticationHandlerTest.java +++ b/src/test/java/com/microsoft/graph/httpcore/AuthenticationHandlerTest.java @@ -27,7 +27,7 @@ public void testAuthenticationHandler() { AuthenticationHandler authHandler = new AuthenticationHandler(authProvider); Request request = new Request.Builder().url("https://graph.microsoft.com/v1.0/me/").build(); - RealInterceptorChain chain = new RealInterceptorChain(null, null, null, null, 0, request, null, null, 0, 0, 0); + RealInterceptorChain chain = new RealInterceptorChain(null, null, 0, null, request, 0, 0, 0); try { authHandler.intercept(chain);