mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
fixed some issues here and there.
This commit is contained in:
parent
4deecde092
commit
85cd877b0c
12 changed files with 66 additions and 20 deletions
|
@ -88,10 +88,18 @@ namespace NzbDrone.Core.Test.Datastore
|
|||
}
|
||||
|
||||
|
||||
[Test]
|
||||
public void should_read_and_write_in_utc()
|
||||
{
|
||||
var storedTime = DateTime.UtcNow;
|
||||
|
||||
_sampleType.LastExecution =storedTime;
|
||||
|
||||
Subject.Insert(_sampleType);
|
||||
|
||||
|
||||
StoredModel.LastExecution.Kind.Should().Be(DateTimeKind.Utc);
|
||||
StoredModel.LastExecution.ToLongTimeString().Should().Be(storedTime.ToLongTimeString());
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void should_have_id_when_returned_from_database()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue