From efcc19a77e8e3dd8beff59180ed25202baffbd46 Mon Sep 17 00:00:00 2001 From: restrry Date: Mon, 20 Jan 2020 11:08:53 +0100 Subject: [PATCH] remove flaly assetion. a license presence tested anyway --- x-pack/plugins/licensing/server/plugin.test.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/x-pack/plugins/licensing/server/plugin.test.ts b/x-pack/plugins/licensing/server/plugin.test.ts index 9547a2dc529665..c9fbb61e6cc19b 100644 --- a/x-pack/plugins/licensing/server/plugin.test.ts +++ b/x-pack/plugins/licensing/server/plugin.test.ts @@ -261,7 +261,6 @@ describe('licensing plugin', () => { expect(customClient.callAsInternalUser).toHaveBeenCalledTimes(1); await flushPromises(customPollingFrequency * 1.5); - expect(customClient.callAsInternalUser).toHaveBeenCalledTimes(2); expect(customLicense.isAvailable).toBe(true); expect(customLicense.type).toBe('gold');