From f2bf9c0acb2f8ab40d96e211074d27f4692c8716 Mon Sep 17 00:00:00 2001 From: Marcin Celej Date: Mon, 4 Jul 2022 12:53:00 +0200 Subject: [PATCH] #18: Update markdow documentation of Web API Testing scenarios --- Web/Synergy.Web.Api.Testing/Features/Markdown.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Web/Synergy.Web.Api.Testing/Features/Markdown.cs b/Web/Synergy.Web.Api.Testing/Features/Markdown.cs index 7b1f043..16bd0dc 100644 --- a/Web/Synergy.Web.Api.Testing/Features/Markdown.cs +++ b/Web/Synergy.Web.Api.Testing/Features/Markdown.cs @@ -89,7 +89,7 @@ private string GetUrlTo(string header) private static void InsertScenarioStatusTable(StringBuilder report, Scenario scenario) { report.AppendLine("| # | Step Actions | Status |"); - report.AppendLine("| - | - | - |"); + report.AppendLine("|---|--------------|--------|"); foreach (var step in scenario.Steps) { report.AppendLine($"| {step.No} | {step.Title} | OK |"); @@ -99,7 +99,7 @@ private static void InsertScenarioStatusTable(StringBuilder report, Scenario sce private static void InsertOperationResponseStatusTable(StringBuilder report, HttpOperation operation) { report.AppendLine($"| Expected Results | Status |"); - report.AppendLine($"| - | - |"); + report.AppendLine($"|-------------------|--------|"); foreach (var assertion in operation.Assertions.Cast()) { report.AppendLine($"| {assertion.ExpectedResult} | OK |");