diff --git a/test/LondonTravel.Skill.Tests/AlexaFunctionTests.cs b/test/LondonTravel.Skill.Tests/AlexaFunctionTests.cs index dd1e387b..2a497289 100644 --- a/test/LondonTravel.Skill.Tests/AlexaFunctionTests.cs +++ b/test/LondonTravel.Skill.Tests/AlexaFunctionTests.cs @@ -23,7 +23,7 @@ public async Task Cannot_Invoke_Function_If_Application_Id_Incorrect() // Act InvalidOperationException exception = await Assert.ThrowsAsync( - async () => await function.HandlerAsync(request, context)); + () => function.HandlerAsync(request, context)); // Assert exception.Message.ShouldBe("Request application Id 'not-my-skill-id' and configured skill Id 'my-skill-id' mismatch.");