diff --git a/CallbackHandler.BusinessLogic.Tests/Mediator/MediatorTests.cs b/CallbackHandler.BusinessLogic.Tests/Mediator/MediatorTests.cs index 51c1fa6..472465e 100644 --- a/CallbackHandler.BusinessLogic.Tests/Mediator/MediatorTests.cs +++ b/CallbackHandler.BusinessLogic.Tests/Mediator/MediatorTests.cs @@ -57,7 +57,7 @@ public async Task Mediator_Send_RequestHandled() } } - if (errors.Any() == true) + if (errors.Any()) { String errorMessage = String.Join(Environment.NewLine, errors); throw new Exception(errorMessage);