From 5be2597fe1e36d8f121f507360cd1d7c1a4fe46a Mon Sep 17 00:00:00 2001 From: Sebastian Stehle Date: Tue, 25 Apr 2017 20:39:51 +0200 Subject: [PATCH] Tests fixed --- .../Caching/InvalidatingMemoryCacheTest.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Squidex.Infrastructure.Tests/Caching/InvalidatingMemoryCacheTest.cs b/tests/Squidex.Infrastructure.Tests/Caching/InvalidatingMemoryCacheTest.cs index 1ebc4e2b5..bbe4fd3de 100644 --- a/tests/Squidex.Infrastructure.Tests/Caching/InvalidatingMemoryCacheTest.cs +++ b/tests/Squidex.Infrastructure.Tests/Caching/InvalidatingMemoryCacheTest.cs @@ -63,7 +63,7 @@ namespace Squidex.Infrastructure.Caching { sut.Invalidate(123); - pubsub.Verify(x => x.Publish("CacheInvalidations", It.IsAny(), false), Times.Never()); + pubsub.Verify(x => x.Publish("CacheInvalidations", It.IsAny(), true), Times.Never()); } [Fact] @@ -71,7 +71,7 @@ namespace Squidex.Infrastructure.Caching { sut.Invalidate("a-key"); - pubsub.Verify(x => x.Publish("CacheInvalidations", "a-key", false), Times.Once()); + pubsub.Verify(x => x.Publish("CacheInvalidations", "a-key", true), Times.Once()); } [Fact] @@ -79,7 +79,7 @@ namespace Squidex.Infrastructure.Caching { ((IMemoryCache)sut).Invalidate("a-key"); - pubsub.Verify(x => x.Publish("CacheInvalidations", "a-key", false), Times.Once()); + pubsub.Verify(x => x.Publish("CacheInvalidations", "a-key", true), Times.Once()); } [Fact]