mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-06-19 17:08:15 +08:00
fix tests and line endings
This commit is contained in:
@ -25,7 +25,7 @@
|
||||
services.AddSingleton<IInternalConfigurationRepository>(configRepo.Object);
|
||||
var sp = services.BuildServiceProvider();
|
||||
var provider = EurekaMiddlewareConfigurationProvider.Get(new ApplicationBuilder(sp));
|
||||
provider.GetType().BaseType.ShouldBeOfType<Task>();
|
||||
provider.Status.ShouldBe(TaskStatus.RanToCompletion);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
@ -41,7 +41,7 @@
|
||||
services.AddSingleton<IDiscoveryClient>(client.Object);
|
||||
var sp = services.BuildServiceProvider();
|
||||
var provider = EurekaMiddlewareConfigurationProvider.Get(new ApplicationBuilder(sp));
|
||||
provider.GetType().BaseType.ShouldBeOfType<Task>();
|
||||
provider.Status.ShouldBe(TaskStatus.RanToCompletion);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user