From 84743ede0eda0347bd67bbd681c1d9585e36e3c6 Mon Sep 17 00:00:00 2001 From: Philip Wood Date: Tue, 18 Jul 2017 09:31:26 +0100 Subject: [PATCH] Fix some test-related build warnings --- test/Ocelot.UnitTests/Cache/CacheManagerCacheTests.cs | 2 -- test/Ocelot.UnitTests/ServiceDiscovery/ServiceRegistryTests.cs | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/test/Ocelot.UnitTests/Cache/CacheManagerCacheTests.cs b/test/Ocelot.UnitTests/Cache/CacheManagerCacheTests.cs index f097ccf1..54107298 100644 --- a/test/Ocelot.UnitTests/Cache/CacheManagerCacheTests.cs +++ b/test/Ocelot.UnitTests/Cache/CacheManagerCacheTests.cs @@ -1,5 +1,4 @@ using System; -using System.Collections.Generic; using CacheManager.Core; using Moq; using Ocelot.Cache; @@ -17,7 +16,6 @@ namespace Ocelot.UnitTests.Cache private string _value; private string _resultGet; private TimeSpan _ttlSeconds; - private List _resultKeys; private string _region; public CacheManagerCacheTests() diff --git a/test/Ocelot.UnitTests/ServiceDiscovery/ServiceRegistryTests.cs b/test/Ocelot.UnitTests/ServiceDiscovery/ServiceRegistryTests.cs index 87425329..3269b420 100644 --- a/test/Ocelot.UnitTests/ServiceDiscovery/ServiceRegistryTests.cs +++ b/test/Ocelot.UnitTests/ServiceDiscovery/ServiceRegistryTests.cs @@ -28,6 +28,7 @@ namespace Ocelot.UnitTests.ServiceDiscovery .BDDfy(); } + [Fact] public void should_lookup_service() { this.Given(x => x.GivenAServiceIsRegistered("product", "localhost:600", 80))