mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 05:23:31 -07:00
should be able to queue report using api.
This commit is contained in:
parent
487ad01a0e
commit
ac3582d5c4
22 changed files with 91 additions and 270 deletions
|
@ -101,6 +101,19 @@ namespace NzbDrone.Core.Test.Datastore
|
|||
StoredModel.LastExecution.ToLongTimeString().Should().Be(storedTime.ToLongTimeString());
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void should_convert_all_dates_to_utc()
|
||||
{
|
||||
var storedTime = DateTime.Now;
|
||||
|
||||
_sampleType.LastExecution = storedTime;
|
||||
|
||||
Subject.Insert(_sampleType);
|
||||
|
||||
StoredModel.LastExecution.Kind.Should().Be(DateTimeKind.Utc);
|
||||
StoredModel.LastExecution.ToLongTimeString().Should().Be(storedTime.ToUniversalTime().ToLongTimeString());
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void should_have_id_when_returned_from_database()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue