mirror of
				https://github.com/nsnail/Ocelot.git
				synced 2025-11-04 16:10:50 +08:00 
			
		
		
		
	I realised we can get rid of the cookie container as cookies are just sent as a header called cookie...
This commit is contained in:
		@@ -62,7 +62,7 @@ namespace Ocelot.UnitTests.Requester
 | 
			
		||||
        [Fact]
 | 
			
		||||
        public void should_call_scoped_data_repository_correctly()
 | 
			
		||||
        {
 | 
			
		||||
            this.Given(x => x.GivenTheRequestIs(new Ocelot.Request.Request(new HttpRequestMessage(),new CookieContainer(),true, new NoQoSProvider())))
 | 
			
		||||
            this.Given(x => x.GivenTheRequestIs(new Ocelot.Request.Request(new HttpRequestMessage(),true, new NoQoSProvider())))
 | 
			
		||||
                .And(x => x.GivenTheRequesterReturns(new HttpResponseMessage()))
 | 
			
		||||
                .And(x => x.GivenTheScopedRepoReturns())
 | 
			
		||||
                .When(x => x.WhenICallTheMiddleware())
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user