Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhi Kalra committed Apr 13, 2023
1 parent 8b6380d commit b0c4f10
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cypress/utils/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,8 @@ Cypress.Commands.add('createIndexPattern', (id, attributes, header = {}) => {
});

Cypress.Commands.add('changeDefaultTenant', (attributes, header = {}) => {
const url = `${Cypress.config().baseUrl}/api/tenancy/config`;
const url =
Cypress.env('openSearchUrl') + '/_plugins/_security/api/tenancy/config';

cy.request({
method: 'PUT',
Expand Down

0 comments on commit b0c4f10

Please sign in to comment.