Fix some test-related build warnings

This commit is contained in:
Philip Wood 2017-07-18 09:31:26 +01:00
parent 8042bbab2c
commit 84743ede0e
2 changed files with 1 additions and 2 deletions

View File

@ -1,5 +1,4 @@
using System; using System;
using System.Collections.Generic;
using CacheManager.Core; using CacheManager.Core;
using Moq; using Moq;
using Ocelot.Cache; using Ocelot.Cache;
@ -17,7 +16,6 @@ namespace Ocelot.UnitTests.Cache
private string _value; private string _value;
private string _resultGet; private string _resultGet;
private TimeSpan _ttlSeconds; private TimeSpan _ttlSeconds;
private List<string> _resultKeys;
private string _region; private string _region;
public CacheManagerCacheTests() public CacheManagerCacheTests()

View File

@ -28,6 +28,7 @@ namespace Ocelot.UnitTests.ServiceDiscovery
.BDDfy(); .BDDfy();
} }
[Fact]
public void should_lookup_service() public void should_lookup_service()
{ {
this.Given(x => x.GivenAServiceIsRegistered("product", "localhost:600", 80)) this.Given(x => x.GivenAServiceIsRegistered("product", "localhost:600", 80))