Skip to content

Commit

Permalink
Fix ProfileIT
Browse files Browse the repository at this point in the history
  • Loading branch information
dakrone committed Sep 10, 2024
1 parent 2c4682e commit 7bd80c8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ public void testGetProfiles() throws IOException {
expectWarnings(
"this request accesses system indices: [.security-profile-8], but in a future major version, "
+ "direct access to system indices will be prevented by default"
)
).toBuilder().addHeader("X-elastic-product-origin", "elastic")
);
assertOK(adminClient().performRequest(indexRequest));
}
Expand Down Expand Up @@ -515,7 +515,7 @@ public void testXpackUsageOutput() throws IOException {
expectWarnings(
"this request accesses system indices: [.security-profile-8], but in a future major version, "
+ "direct access to system indices will be prevented by default"
)
).toBuilder().addHeader("X-elastic-product-origin", "elastic")
);
assertOK(adminClient().performRequest(indexRequest));

Expand Down

0 comments on commit 7bd80c8

Please sign in to comment.