diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/hack/updateStage.test.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/hack/updateStage.test.js index c28cd71eaca0..e1ace1398177 100644 --- a/lib/plugins/aws/package/compile/events/apiGateway/lib/hack/updateStage.test.js +++ b/lib/plugins/aws/package/compile/events/apiGateway/lib/hack/updateStage.test.js @@ -695,16 +695,6 @@ describe('#updateStage()', () => { }); }); - it('should reject a custom APIGW log level if value is invalid', () => { - context.state.service.provider.logs = { - restApi: { - level: 'INVALID', - }, - }; - - return expect(updateStage.call(context)).to.be.rejectedWith('invalid value'); - }); - it('should disable existing access log settings when accessLogging is set to false', () => { context.state.service.provider.logs = { restApi: {