Skip to content

Commit 922499b

Browse files
committed
Fix failing test.
1 parent c1dd766 commit 922499b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,7 @@ public void testDoesNotAttemptToStoreModelIds_ThatHaveATaskTypeThatTheEISIntegra
229229
List.of(
230230
new ElasticInferenceServiceAuthorizationResponseEntity.AuthorizedModel(
231231
InternalPreconfiguredEndpoints.DEFAULT_ELSER_2_MODEL_ID,
232-
// EIS does not yet support completions so this model will be ignored
233-
EnumSet.of(TaskType.COMPLETION)
232+
EnumSet.noneOf(TaskType.class)
234233
)
235234
)
236235
)

0 commit comments

Comments
 (0)