Skip to content

Commit

Permalink
Remove non functional and now non buildable test
Browse files Browse the repository at this point in the history
  • Loading branch information
danielchalmers committed Jan 3, 2025
1 parent 15a32c4 commit 697154d
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions DesktopClock.Tests/SettingsTests.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.IO;
using System.IO;
using System.Threading.Tasks;
using DesktopClock.Properties;

Expand Down Expand Up @@ -68,20 +67,4 @@ public void ScaleHeight_ShouldAdjustHeightByExpectedAmount()

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);
}
}

0 comments on commit 697154d

Please sign in to comment.