From 0ff1b310e20894cde69d2baf78f4dc59b43bc9bd Mon Sep 17 00:00:00 2001 From: Mark Cilia Vincenti Date: Wed, 13 Nov 2024 10:02:13 +0100 Subject: [PATCH] Fixes --- .../CachingTests/CSRedisCachingProviderTest.cs | 2 +- .../EasyCaching.UnitTests/CachingTests/MemcachedProviderTest.cs | 2 +- .../CachingTests/MemoryCachingProviderTest.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/EasyCaching.UnitTests/CachingTests/CSRedisCachingProviderTest.cs b/test/EasyCaching.UnitTests/CachingTests/CSRedisCachingProviderTest.cs index 8ded8e1a..c0e16ac2 100644 --- a/test/EasyCaching.UnitTests/CachingTests/CSRedisCachingProviderTest.cs +++ b/test/EasyCaching.UnitTests/CachingTests/CSRedisCachingProviderTest.cs @@ -42,7 +42,7 @@ protected override IEasyCachingProvider CreateCachingProvider(Action diff --git a/test/EasyCaching.UnitTests/CachingTests/MemcachedProviderTest.cs b/test/EasyCaching.UnitTests/CachingTests/MemcachedProviderTest.cs index 0d5cf30a..c1275375 100644 --- a/test/EasyCaching.UnitTests/CachingTests/MemcachedProviderTest.cs +++ b/test/EasyCaching.UnitTests/CachingTests/MemcachedProviderTest.cs @@ -417,7 +417,7 @@ public void Provider_Information_Should_Be_Correct() public class MemcachedProviderNoConnectionTest { [Fact] - public async void NoConnectionTest() + public async Task NoConnectionTest() { IServiceCollection services = new ServiceCollection(); services.AddLogging(); diff --git a/test/EasyCaching.UnitTests/CachingTests/MemoryCachingProviderTest.cs b/test/EasyCaching.UnitTests/CachingTests/MemoryCachingProviderTest.cs index 511e5f2d..e32e0071 100644 --- a/test/EasyCaching.UnitTests/CachingTests/MemoryCachingProviderTest.cs +++ b/test/EasyCaching.UnitTests/CachingTests/MemoryCachingProviderTest.cs @@ -156,7 +156,7 @@ public void Evicted_Event_Should_Trigger_When_GetExpiredItems() } [Fact] - public async void Issues497_GetCountAsync_Check_Expires_Test() + public async Task Issues497_GetCountAsync_Check_Expires_Test() { for (int i = 0; i < 9; i++) {