From efd8477a262dbd09f01e6610e9b1f89cf2cf4915 Mon Sep 17 00:00:00 2001 From: Marcin Celej Date: Fri, 14 Jul 2023 12:48:55 +0200 Subject: [PATCH] #24: Updated diagram generation --- .../Synergy.Sample.Web.API.Tests/Architecture/Diagrams.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Web/Sample/Synergy.Sample.Web.API.Tests/Architecture/Diagrams.cs b/Web/Sample/Synergy.Sample.Web.API.Tests/Architecture/Diagrams.cs index 65483e4..aa2eb2b 100644 --- a/Web/Sample/Synergy.Sample.Web.API.Tests/Architecture/Diagrams.cs +++ b/Web/Sample/Synergy.Sample.Web.API.Tests/Architecture/Diagrams.cs @@ -1,7 +1,6 @@ using System.Collections.Generic; using System.IO; using System.Threading.Tasks; -using Synergy.Architecture.Diagrams; using Synergy.Architecture.Diagrams.Documentation; using Synergy.Architecture.Diagrams.Sequence; using Synergy.Documentation.Code; @@ -28,7 +27,7 @@ public async Task Sequence() .Add(Read()) ; - File.WriteAllText(SequenceDiagrams.FilePath, blueprint.Render()); + await File.WriteAllTextAsync(Diagrams.SequenceDiagrams.FilePath, blueprint.Render()); // // WARN: Temporarily removed using Verify due to problem with PlantUml which generates different link to image on server side even thought the diagram content is the same