Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jcger committed Sep 9, 2022
1 parent 9873093 commit 0997730
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ export default ({ getService }: FtrProviderContext) => {
expectedStatusCode: number = 200
) => {
const resp = await supertestWithoutAuth
.get(`${TEST_URL}?featureIds=${featureIds.toString()}`)
.get(`${TEST_URL}`)
.query({ featureIds })
.auth(user.username, user.password)
.set('kbn-xsrf', 'true')
.expect(expectedStatusCode);
Expand Down Expand Up @@ -54,7 +55,7 @@ export default ({ getService }: FtrProviderContext) => {
'logs',
'uptime',
]);
expect(Object.keys(browserFields)).to.eql(['base', 'kibana', 'message']);
expect(Object.keys(browserFields)).to.eql(['base']);
});

it(`${secOnlyRead.username} should not have access to o11y featureIds`, async () => {
Expand Down

0 comments on commit 0997730

Please sign in to comment.