From e05839a1d7e59c3f70e89219918aa4e6ccd0eeb2 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 31 Aug 2020 13:24:05 +0200 Subject: [PATCH] Tests fixed. --- .../EventSourcing/PollingSubscriptionTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/tests/Squidex.Infrastructure.Tests/EventSourcing/PollingSubscriptionTests.cs b/backend/tests/Squidex.Infrastructure.Tests/EventSourcing/PollingSubscriptionTests.cs index d10a2521d..edf405e56 100644 --- a/backend/tests/Squidex.Infrastructure.Tests/EventSourcing/PollingSubscriptionTests.cs +++ b/backend/tests/Squidex.Infrastructure.Tests/EventSourcing/PollingSubscriptionTests.cs @@ -59,7 +59,7 @@ namespace Squidex.Infrastructure.EventSourcing await WaitAndStopAsync(sut); A.CallTo(() => eventSubscriber.OnErrorAsync(sut, ex)) - .MustNotHaveHappened(); + .MustHaveHappened(); } [Fact] @@ -75,7 +75,7 @@ namespace Squidex.Infrastructure.EventSourcing await WaitAndStopAsync(sut); A.CallTo(() => eventSubscriber.OnErrorAsync(sut, ex)) - .MustNotHaveHappened(); + .MustHaveHappened(); } [Fact]