Skip to content

Commit

Permalink
update licensing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mshustov committed May 19, 2020
1 parent 58b3671 commit 56a00f1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions x-pack/test/licensing_plugin/legacy/updates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export default function(ftrContext: FtrProviderContext) {
} = await supertest.get('/api/xpack/v1/info').expect(200);

expect(legacyInitialLicense.license?.type).to.be('basic');
expect(legacyInitialLicense.features).to.have.property('security');
expect(legacyInitialLicenseHeaders['kbn-xpack-sig']).to.be.a('string');

await scenario.startTrial();
Expand All @@ -42,7 +41,6 @@ export default function(ftrContext: FtrProviderContext) {
.expect(200);

expect(legacyTrialLicense.license?.type).to.be('trial');
expect(legacyTrialLicense.features).to.have.property('security');
expect(legacyTrialLicenseHeaders['kbn-xpack-sig']).to.not.be(
legacyInitialLicenseHeaders['kbn-xpack-sig']
);
Expand All @@ -52,7 +50,6 @@ export default function(ftrContext: FtrProviderContext) {

const { body: legacyBasicLicense } = await supertest.get('/api/xpack/v1/info').expect(200);
expect(legacyBasicLicense.license?.type).to.be('basic');
expect(legacyBasicLicense.features).to.have.property('security');

// banner shown only when license expired not just deleted
await testSubjects.missingOrFail('licenseExpiredBanner');
Expand Down

0 comments on commit 56a00f1

Please sign in to comment.