messing around (#230)

This commit is contained in:
Tom Pallister
2018-02-13 23:00:41 +00:00
committed by GitHub
parent 947a1450d0
commit 6f177fbf5b
8 changed files with 163 additions and 9 deletions

View File

@ -1,4 +1,6 @@
namespace Ocelot.UnitTests.Cache
using System.Net;
namespace Ocelot.UnitTests.Cache
{
using System;
using System.Collections.Generic;
@ -36,7 +38,7 @@
[Fact]
public void should_returned_cached_item_when_it_is_in_cache()
{
var cachedResponse = new CachedResponse();
var cachedResponse = new CachedResponse(HttpStatusCode.OK, new Dictionary<string, IEnumerable<string>>(), "", new Dictionary<string, IEnumerable<string>>());
this.Given(x => x.GivenThereIsACachedResponse(cachedResponse))
.And(x => x.GivenTheDownstreamRouteIs())
.And(x => x.GivenThereIsADownstreamUrl())