mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-30 19:50:15 -07:00
back to tiny for now
This commit is contained in:
parent
2912561d0e
commit
4deecde092
84 changed files with 617 additions and 558 deletions
|
@ -122,18 +122,18 @@ namespace NzbDrone.Core.Test.Datastore
|
|||
{
|
||||
var childModel = new ScheduledTask
|
||||
{
|
||||
Name = "Address",
|
||||
TypeName = "Address",
|
||||
Interval = 12
|
||||
};
|
||||
|
||||
Subject.Insert(childModel);
|
||||
|
||||
childModel.Name = "A";
|
||||
childModel.TypeName = "A";
|
||||
childModel.Interval = 0;
|
||||
|
||||
Subject.SetFields(childModel, t => t.Name);
|
||||
Subject.SetFields(childModel, t => t.TypeName);
|
||||
|
||||
Db.All<ScheduledTask>().Single().Name.Should().Be("A");
|
||||
Db.All<ScheduledTask>().Single().TypeName.Should().Be("A");
|
||||
Db.All<ScheduledTask>().Single().Interval.Should().Be(12);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue