diff --git a/x-pack/plugins/fleet/server/routes/fleet_server_hosts/handler.test.ts b/x-pack/plugins/fleet/server/routes/fleet_server_hosts/handler.test.ts index bfcb91351af11a..3d7b35682dc6e2 100644 --- a/x-pack/plugins/fleet/server/routes/fleet_server_hosts/handler.test.ts +++ b/x-pack/plugins/fleet/server/routes/fleet_server_hosts/handler.test.ts @@ -114,18 +114,6 @@ describe('fleet server hosts handler', () => { expect(res).toEqual({ body: { item: { id: 'host1' } } }); }); - it('should return ok on put in serverless if host urls are not passed', async () => { - jest.spyOn(appContextService, 'getCloud').mockReturnValue({ isServerlessEnabled: true } as any); - - const res = await putFleetServerHostHandler( - mockContext, - { body: { name: ['Renamed'] }, params: { outputId: 'host1' } } as any, - mockResponse as any - ); - - expect(res).toEqual({ body: { item: { id: 'host1' } } }); - }); - it('should return ok on put in stateful if host url is different from default', async () => { jest .spyOn(appContextService, 'getCloud')