From d01731ac84876a4fa8ef9f79f29ee47ffd0ee56d Mon Sep 17 00:00:00 2001 From: Sik Date: Sun, 1 Sep 2024 09:09:44 +0200 Subject: [PATCH] fix: changed ci os to windows --- .github/workflows/build.yml | 2 +- System.Test/IsOnlineTest.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b39ed35..a0c9105 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,7 +8,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: windows-latest steps: - uses: actions/checkout@v4 diff --git a/System.Test/IsOnlineTest.cs b/System.Test/IsOnlineTest.cs index 34d3906..d59fbbb 100644 --- a/System.Test/IsOnlineTest.cs +++ b/System.Test/IsOnlineTest.cs @@ -41,7 +41,7 @@ public void ConstructorWithIpAddressAndCustomTimeout() Assert.AreEqual(customTimeout, isOnline.TimeOut, $"Timeout should be {customTimeout}."); } - /*[TestMethod] + [TestMethod] public void CheckWithHostname() { IsOnline isOnline = new(_googleHostname); @@ -59,6 +59,6 @@ public void CheckWithIpAddress() bool result = isOnline.Check(); Assert.IsTrue(result, "Google IP address should be reachable."); - }*/ + } } }