From 8219fbf5dfdb0a43661425d2558a225e6f1d72ea Mon Sep 17 00:00:00 2001 From: Anna Date: Sat, 13 Oct 2018 19:46:58 +0100 Subject: [PATCH] Tests looking for wrong file type for License Travis pipeline failing on the `TestRepositoryFiles` license test as the license file type was incorrect. Updated to `.md` --- UnitTest/UnitTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnitTest/UnitTest.cs b/UnitTest/UnitTest.cs index 6ab12e7..3c5aaba 100644 --- a/UnitTest/UnitTest.cs +++ b/UnitTest/UnitTest.cs @@ -104,7 +104,7 @@ public class TestRepositoryFiles [Test] public void TestLicenseEndYear() { - var licensePath = Path.Combine("..", "..", "..", "LICENSE.txt"); + var licensePath = Path.Combine("..", "..", "..", "LICENSE.md"); string line = File.ReadLines(licensePath).Skip(2).Take(1).First(); Assert.AreEqual(DateTime.Now.Year.ToString(), line.Substring(19, 4));