Skip to content

Commit

Permalink
remove outdated test
Browse files Browse the repository at this point in the history
  • Loading branch information
mshustov committed May 19, 2020
1 parent 9e01cd6 commit 58b3671
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,16 +177,6 @@ describe('replaceInjectedVars uiExport', () => {
},
});
});

it('sends the originalInjectedVars if the license check result is not available', async () => {
const originalInjectedVars = { a: 1 };
const request = buildRequest();
const server = mockServer();
server.plugins.xpack_main.info.feature().getLicenseCheckResults.returns(undefined);

const newVars = await replaceInjectedVars(originalInjectedVars, request, server);
expect(newVars).to.eql(originalInjectedVars);
});
});

// creates a mock server object that defaults to being authenticated with a
Expand Down

0 comments on commit 58b3671

Please sign in to comment.