mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 13:10:13 -07:00
Fixed: one_to_one test if system timezone isn't UTC
This commit is contained in:
parent
a98d45d3de
commit
59b40bd032
1 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,7 @@ using NzbDrone.Core.Qualities;
|
||||||
using NzbDrone.Core.Test.Framework;
|
using NzbDrone.Core.Test.Framework;
|
||||||
using NzbDrone.Core.Music;
|
using NzbDrone.Core.Music;
|
||||||
using NzbDrone.Core.Languages;
|
using NzbDrone.Core.Languages;
|
||||||
|
using System;
|
||||||
|
|
||||||
namespace NzbDrone.Core.Test.Datastore
|
namespace NzbDrone.Core.Test.Datastore
|
||||||
{
|
{
|
||||||
|
@ -18,6 +19,9 @@ namespace NzbDrone.Core.Test.Datastore
|
||||||
{
|
{
|
||||||
var album = Builder<Album>.CreateNew()
|
var album = Builder<Album>.CreateNew()
|
||||||
.With(c => c.Id = 0)
|
.With(c => c.Id = 0)
|
||||||
|
.With(x => x.ReleaseDate = DateTime.UtcNow)
|
||||||
|
.With(x => x.LastInfoSync = DateTime.UtcNow)
|
||||||
|
.With(x => x.Added = DateTime.UtcNow)
|
||||||
.BuildNew();
|
.BuildNew();
|
||||||
Db.Insert(album);
|
Db.Insert(album);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue