Skip to content

Commit 3b370db

Browse files
Merge branch 'ml-eis-auth-v2' of github.com:jonathan-buttner/elasticsearch into ml-eis-auth-v2
2 parents f2a3d1a + e7b2371 commit 3b370db

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/services/elastic/authorization/AuthorizationPollerTests.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -345,9 +345,7 @@ public void testDoesNotAttemptToStoreModelIds_ThatHaveATaskTypeThatTheEISIntegra
345345
var mockAuthHandler = mock(ElasticInferenceServiceAuthorizationRequestHandler.class);
346346
doAnswer(invocation -> {
347347
ActionListener<AuthorizationModel> listener = invocation.getArgument(0);
348-
listener.onResponse(
349-
AuthorizationModel.of(new AuthorizationResponseEntity(List.of(completionModel)), url)
350-
);
348+
listener.onResponse(AuthorizationModel.of(new AuthorizationResponseEntity(List.of(completionModel)), url));
351349
return Void.TYPE;
352350
}).when(mockAuthHandler).getAuthorization(any(), any());
353351

0 commit comments

Comments
 (0)