Feature/store configuraton json idented (#328)

* messing around with benchmark.net.seems Ocelot adds about 2ms to a request..lets make this less? :)

* #326 store json indented so it looks nice :P
This commit is contained in:
Tom Pallister
2018-04-24 08:30:17 +01:00
committed by GitHub
parent 636d116491
commit 77211e9f16
14 changed files with 445 additions and 53 deletions

View File

@ -88,7 +88,7 @@ namespace Ocelot.AcceptanceTests
{
var configurationPath = TestConfiguration.ConfigurationPath;
var jsonConfiguration = JsonConvert.SerializeObject(fileConfiguration);
var jsonConfiguration = JsonConvert.SerializeObject(fileConfiguration, Formatting.Indented);
if (File.Exists(configurationPath))
{
@ -100,7 +100,7 @@ namespace Ocelot.AcceptanceTests
public void GivenThereIsAConfiguration(FileConfiguration fileConfiguration, string configurationPath)
{
var jsonConfiguration = JsonConvert.SerializeObject(fileConfiguration);
var jsonConfiguration = JsonConvert.SerializeObject(fileConfiguration, Formatting.Indented);
if (File.Exists(configurationPath))
{