mirror of
				https://github.com/nsnail/Ocelot.git
				synced 2025-11-04 15:50:49 +08:00 
			
		
		
		
	more hacking
This commit is contained in:
		@@ -21,7 +21,7 @@ namespace Ocelot.AcceptanceTests
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        [Fact]
 | 
					        [Fact]
 | 
				
			||||||
        public void should_return_server_error()
 | 
					        public void should_return_internal_server_error_if_downstream_service_returns_internal_server_error()
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            var configuration = new FileConfiguration
 | 
					            var configuration = new FileConfiguration
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
@@ -33,8 +33,8 @@ namespace Ocelot.AcceptanceTests
 | 
				
			|||||||
                            UpstreamPathTemplate = "/",
 | 
					                            UpstreamPathTemplate = "/",
 | 
				
			||||||
                            UpstreamHttpMethod = "Get",
 | 
					                            UpstreamHttpMethod = "Get",
 | 
				
			||||||
                            DownstreamPort = 53876,
 | 
					                            DownstreamPort = 53876,
 | 
				
			||||||
                            DownstreamHost = "localhost",
 | 
					 | 
				
			||||||
                            DownstreamScheme = "http",
 | 
					                            DownstreamScheme = "http",
 | 
				
			||||||
 | 
					                            DownstreamHost = "localhost"
 | 
				
			||||||
                        }
 | 
					                        }
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
            };
 | 
					            };
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -28,7 +28,7 @@
 | 
				
			|||||||
        {
 | 
					        {
 | 
				
			||||||
            var runTime = $"{oSDescription}-{osArchitecture}".ToLower();
 | 
					            var runTime = $"{oSDescription}-{osArchitecture}".ToLower();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            var configPath = $"./test/Ocelot.AcceptanceTests/bin/Debug/netcoreapp{Version}/{runTime}/configuration.json";
 | 
					            var configPath = $"./bin/Debug/netcoreapp{Version}/{runTime}/configuration.json";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            return configPath;
 | 
					            return configPath;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user