Skip to content

Commit

Permalink
Implement GitHub Actions - Try fix Unit Tests Step
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephWee committed May 3, 2023
1 parent 1260823 commit 93b8561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NUnitTest/TicTacToeTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class GameSetting
[SetUp]
public void TestSetup()
{
string msbuildDir = new DirectoryInfo(Path.Combine(TestContext.CurrentContext.TestDirectory, @"..\..\..")).FullName;
string msbuildDir = new DirectoryInfo(Path.Combine(TestContext.CurrentContext.TestDirectory,"..","..","..")).FullName;
var TicTacToeDataConnString = TestContext.Parameters.Get("TicTacToeDataConnString", string.Empty).Replace("$(MSBuildProjectDirectory)", msbuildDir);
Assert.IsNotEmpty(TicTacToeDataConnString);

Expand Down

0 comments on commit 93b8561

Please sign in to comment.