Browse Source

Remove non functional and now non buildable test

Daniel Chalmers 9 months ago
parent
commit
697154d693
1 changed files with 1 additions and 18 deletions
  1. 1 18
      DesktopClock.Tests/SettingsTests.cs

+ 1 - 18
DesktopClock.Tests/SettingsTests.cs

@@ -1,5 +1,4 @@
-using System;
-using System.IO;
+using System.IO;
 using System.Threading.Tasks;
 using DesktopClock.Properties;
 
@@ -68,20 +67,4 @@ public class SettingsTests : IAsyncLifetime
 
         Assert.Equal(47, settings.Height);
     }
-
-    [Fact(Skip = "The process cannot access the file [...] because it is being used by another process.")]
-    public void GetTimeZoneInfo_ShouldReturnExpectedTimeZoneInfo()
-    {
-        var settings = Settings.Default;
-
-        // Default TimeZone should return Local
-        var localTimeZone = TimeZoneInfo.Local;
-        var timeZoneInfo = settings.GetTimeZoneInfo();
-        Assert.Equal(localTimeZone, timeZoneInfo);
-
-        // Set to a specific time zone
-        settings.TimeZone = "Pacific Standard Time";
-        timeZoneInfo = settings.GetTimeZoneInfo();
-        Assert.Equal("Pacific Standard Time", timeZoneInfo.Id);
-    }
 }