From f05b460e968fbaed440aedb257af8c75ec1b5af0 Mon Sep 17 00:00:00 2001 From: alexkar598 <25136265+alexkar598@users.noreply.github.com> Date: Mon, 12 Oct 2020 19:30:45 -0400 Subject: [PATCH] Maybe fixes the test unit? --- build/Version.props | 2 +- tests/Tgstation.Server.Tests/VersionsTest.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/Version.props b/build/Version.props index af9216cd7e..b1c5e45de4 100644 --- a/build/Version.props +++ b/build/Version.props @@ -7,7 +7,7 @@ 7.3.2 8.3.2 5.2.6 - 0.4.0 + 1.0.1 1.1.0 diff --git a/tests/Tgstation.Server.Tests/VersionsTest.cs b/tests/Tgstation.Server.Tests/VersionsTest.cs index e3523c3d0d..2394fa0cb6 100644 --- a/tests/Tgstation.Server.Tests/VersionsTest.cs +++ b/tests/Tgstation.Server.Tests/VersionsTest.cs @@ -111,7 +111,7 @@ namespace Tgstation.Server.Tests dynamic json = JObject.Parse(jsonText); - string cpVersionString = json.dependencies["tgstation-server-control-panel"]; + string cpVersionString = json.version; Assert.IsTrue(Version.TryParse(cpVersionString, out var actual)); Assert.AreEqual(expected, actual);