mirror of
				https://github.com/nsnail/Ocelot.git
				synced 2025-11-04 15:50:49 +08:00 
			
		
		
		
	UpstreamHttpMethod property (of class FileReRoute) changes from string to List<string>.
This commit is contained in:
		@@ -72,7 +72,7 @@ namespace Ocelot.UnitTests.Authentication
 | 
			
		||||
        public void should_call_next_middleware_if_route_is_not_authenticated()
 | 
			
		||||
        {
 | 
			
		||||
            this.Given(x => x.GivenTheDownStreamRouteIs(new DownstreamRoute(new List<UrlPathPlaceholderNameAndValue>(), new ReRouteBuilder()
 | 
			
		||||
                                                                                                                            .WithUpstreamHttpMethod("Get")
 | 
			
		||||
                                                                                                                            .WithUpstreamHttpMethod(new List<string> { "Get" })
 | 
			
		||||
                                                                                                                            .Build())))
 | 
			
		||||
                .When(x => x.WhenICallTheMiddleware())
 | 
			
		||||
                .Then(x => x.ThenTheUserIsAuthenticated())
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user