Skip to content

Commit

Permalink
Ignore commit hash in version controller test (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
domi-b authored Nov 20, 2023
2 parents 0ab1fcb + 09f8226 commit 302d243
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
namespace GeoCop.Api.Controllers
{
[TestClass]
public class VersionConstrollerTest
public class VersionControllerTest
{
[TestMethod]
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);
}
}
}

0 comments on commit 302d243

Please sign in to comment.