Skip to content

Commit

Permalink
IDE0031
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnmbond committed Dec 7, 2023
1 parent 1a7393e commit 43e614f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions LogicMonitor.Api.Test/Devices/DeviceTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -252,10 +252,7 @@ public async Task DateTimeSetCorrectly()
.ConfigureAwait(true);
refresh.CreatedOnSeconds.Should().BePositive();
refresh.CreatedOnUtc.Should().NotBeNull();
if (refresh.CreatedOnUtc is not null)
{
refresh.CreatedOnUtc.Value.Should().BeAfter(DateTime.Parse("2011-02-11", CultureInfo.InvariantCulture));
}
refresh.CreatedOnUtc?.Should().BeAfter(DateTime.Parse("2011-02-11", CultureInfo.InvariantCulture));
}

[Fact]
Expand Down

0 comments on commit 43e614f

Please sign in to comment.