Skip to content

Commit

Permalink
Fix test - version test should be a future version
Browse files Browse the repository at this point in the history
  • Loading branch information
webprofusion-chrisc committed Dec 27, 2024
1 parent 3baa832 commit 03448b6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ public void TestUpdateCheck()
// current version is older than newer version
Assert.IsTrue(result.IsNewerVersion);

result = updateChecker.CheckForUpdates("6.1.1").Result;
result = updateChecker.CheckForUpdates("10.1.1").Result;

// current version is newer than update version
Assert.IsFalse(result.IsNewerVersion);

result = updateChecker.CheckForUpdates("6.1.1").Result;
result = updateChecker.CheckForUpdates("10.1.1").Result;

Assert.IsNotNull(result, "Update check result should not be null");

Expand Down

0 comments on commit 03448b6

Please sign in to comment.