Skip to content

Commit

Permalink
fixed test broken by reorder of links
Browse files Browse the repository at this point in the history
  • Loading branch information
gmmorris committed Apr 1, 2020
1 parent 2d80df2 commit 4cdfcb3
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,14 +127,14 @@ describe('connector_add_flyout', () => {
const subscriptionLinks = callout.find('EuiButton');
expect(subscriptionLinks).toHaveLength(2);

const [linkToSubscribePage, linkToManageLicense] = subscriptionLinks.getElements();
const [linkToManageLicense, linkToSubscribePage] = subscriptionLinks.getElements();

expect(linkToSubscribePage.props.href).toMatchInlineSnapshot(
`"https://www.elastic.co/subscriptions"`
);
expect(linkToManageLicense.props.href).toMatchInlineSnapshot(
`"/app/kibana#/management/elasticsearch/license_management/"`
);
expect(linkToSubscribePage.props.href).toMatchInlineSnapshot(
`"https://www.elastic.co/subscriptions"`
);
});
});

Expand Down

0 comments on commit 4cdfcb3

Please sign in to comment.