From 56a00f14ccc982e39c8603e7ed0c60a4e4f89ef8 Mon Sep 17 00:00:00 2001 From: restrry Date: Tue, 19 May 2020 14:03:38 +0200 Subject: [PATCH] update licensing tests --- x-pack/test/licensing_plugin/legacy/updates.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/x-pack/test/licensing_plugin/legacy/updates.ts b/x-pack/test/licensing_plugin/legacy/updates.ts index 03b61b9db87f89..10661ec529dec5 100644 --- a/x-pack/test/licensing_plugin/legacy/updates.ts +++ b/x-pack/test/licensing_plugin/legacy/updates.ts @@ -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(); @@ -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'] ); @@ -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');