From 5694f79af4c73600659a57ba7b70d4f84eefd3e7 Mon Sep 17 00:00:00 2001 From: Chris R Date: Wed, 20 May 2015 12:51:38 -0700 Subject: [PATCH] React to IRequestCookieFeature API change. --- test/MusicStore.Spa.Test/ShoppingCartTest.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/MusicStore.Spa.Test/ShoppingCartTest.cs b/test/MusicStore.Spa.Test/ShoppingCartTest.cs index 02be69d84b..3f4d3d35ee 100644 --- a/test/MusicStore.Spa.Test/ShoppingCartTest.cs +++ b/test/MusicStore.Spa.Test/ShoppingCartTest.cs @@ -1,4 +1,5 @@ -using System.Collections.Generic; +using System; +using System.Collections.Generic; using Microsoft.AspNet.Http; using Microsoft.AspNet.Http.Features.Internal; using Microsoft.AspNet.Http.Internal; @@ -29,7 +30,7 @@ namespace MusicStore.Models private class CookiesFeature : IRequestCookiesFeature { - private readonly IReadableStringCollection _cookies; + private IReadableStringCollection _cookies; public CookiesFeature(string key, string value) { @@ -42,6 +43,7 @@ namespace MusicStore.Models public IReadableStringCollection Cookies { get { return _cookies; } + set { _cookies = value; } } } }