mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-25 14:32:50 +08:00

* hacked together load balancing reroutes in fileconfig * some renaming and refactoring * more renames * hacked away the old config json * test for issue 213 * renamed key * dont share ports * oops * updated docs * mvoed docs around * port being used
16 lines
482 B
C#
16 lines
482 B
C#
using Ocelot.Configuration.Creator;
|
|
using Shouldly;
|
|
using Xunit;
|
|
|
|
namespace Ocelot.UnitTests.Configuration
|
|
{
|
|
public class IdentityServerConfigurationCreatorTests
|
|
{
|
|
[Fact]
|
|
public void happy_path_only_exists_for_test_coverage_even_uncle_bob_probably_wouldnt_test_this()
|
|
{
|
|
var result = IdentityServerConfigurationCreator.GetIdentityServerConfiguration("secret");
|
|
result.ApiName.ShouldBe("admin");
|
|
}
|
|
}
|
|
} |