From 0d10f0e956135be91e0d7b49f913474680a19c93 Mon Sep 17 00:00:00 2001 From: Mikhail Shustov Date: Mon, 20 Jan 2020 15:03:07 +0100 Subject: [PATCH] remove flaly assetion. a license presence tested anyway (#55289) (#55307) --- 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 9547a2dc5296..c9fbb61e6cc1 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');