diff --git a/tests/GeoCop.Api.Test/VersionConstrollerTest.cs b/tests/GeoCop.Api.Test/VersionControllerTest.cs similarity index 70% rename from tests/GeoCop.Api.Test/VersionConstrollerTest.cs rename to tests/GeoCop.Api.Test/VersionControllerTest.cs index a775aa8b..6ecdc6ed 100644 --- a/tests/GeoCop.Api.Test/VersionConstrollerTest.cs +++ b/tests/GeoCop.Api.Test/VersionControllerTest.cs @@ -1,7 +1,7 @@ namespace GeoCop.Api.Controllers { [TestClass] - public class VersionConstrollerTest + public class VersionControllerTest { [TestMethod] public void GetVersion() @@ -9,7 +9,7 @@ public void GetVersion() var result = new VersionController().Get(); Assert.IsNotNull(result); Assert.IsTrue(result.Length > 0); - Assert.AreEqual("1.0", result); + StringAssert.StartsWith(result, "1.0", StringComparison.Ordinal); } } }