Skip to content

Commit 6fc50c1

Browse files
committed
update security tests
1 parent 6b8403b commit 6fc50c1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

x-pack/test_serverless/api_integration/test_suites/common/security_response_headers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default function ({ getService }: FtrProviderContext) {
2525
it('API endpoint response contains default security headers', async () => {
2626
const { header } = await supertest
2727
.get(`/internal/security/me`)
28-
.set(svlCommonApi.getCommonRequestHeader())
28+
.set(svlCommonApi.getInternalRequestHeader())
2929
.expect(200);
3030

3131
expect(header).toBeDefined();
@@ -41,7 +41,7 @@ export default function ({ getService }: FtrProviderContext) {
4141
it('redirect endpoint response contains default security headers', async () => {
4242
const { header } = await supertest
4343
.get(`/login`)
44-
.set(svlCommonApi.getCommonRequestHeader())
44+
.set(svlCommonApi.getInternalRequestHeader())
4545
.expect(302);
4646

4747
expect(header).toBeDefined();

0 commit comments

Comments
 (0)