mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-22 06:22:50 +08:00
Fix some test-related build warnings
This commit is contained in:
parent
8042bbab2c
commit
84743ede0e
@ -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()
|
||||||
|
@ -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))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user