File tree Expand file tree Collapse file tree
x-pack/test_serverless/api_integration/test_suites/common Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ( ) ;
You can’t perform that action at this time.
0 commit comments