From 3d0ce228f7afcba040abc8001006235f278fb731 Mon Sep 17 00:00:00 2001 From: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com> Date: Mon, 10 Oct 2022 14:50:15 +1300 Subject: [PATCH] Change SaveLoadMultiGridMap to use AssertMultiple() (#11810) --- Content.IntegrationTests/Tests/SaveLoadMapTest.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Content.IntegrationTests/Tests/SaveLoadMapTest.cs b/Content.IntegrationTests/Tests/SaveLoadMapTest.cs index 480245f7d3..1aba319c99 100644 --- a/Content.IntegrationTests/Tests/SaveLoadMapTest.cs +++ b/Content.IntegrationTests/Tests/SaveLoadMapTest.cs @@ -1,4 +1,4 @@ -using System.Threading.Tasks; +using System.Threading.Tasks; using NUnit.Framework; using Robust.Server.Maps; using Robust.Shared.ContentPack; @@ -45,15 +45,15 @@ namespace Content.IntegrationTests.Tests mapGrid.SetTile(new Vector2i(0, 0), new Tile(2, (TileRenderFlag)1, 254)); } - mapLoader.SaveMap(mapId, mapPath); - - mapManager.DeleteMap(mapId); + Assert.Multiple(() => mapLoader.SaveMap(mapId, mapPath)); + Assert.Multiple(() => mapManager.DeleteMap(mapId)); }); await server.WaitIdleAsync(); await server.WaitPost(() => { - mapLoader.LoadMap(new MapId(10), mapPath); + Assert.Multiple(() => mapLoader.LoadMap(new MapId(10), mapPath)); + }); await server.WaitIdleAsync(); await server.WaitAssertion(() =>