mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
removed all the jobs.
This commit is contained in:
parent
40f384968a
commit
ec58b8b595
42 changed files with 122 additions and 1599 deletions
|
@ -106,21 +106,19 @@ namespace NzbDrone.Core.Test.Datastore
|
|||
{
|
||||
var childModel = new JobDefinition
|
||||
{
|
||||
Type = "Address",
|
||||
Name = "Name",
|
||||
Name = "Address",
|
||||
Interval = 12
|
||||
|
||||
};
|
||||
|
||||
Subject.Insert(childModel);
|
||||
|
||||
childModel.Type = "A";
|
||||
childModel.Name = "B";
|
||||
childModel.Name = "A";
|
||||
childModel.Interval = 0;
|
||||
|
||||
Subject.SetFields(childModel, t => t.Name);
|
||||
|
||||
Db.All<JobDefinition>().Single().Type.Should().Be("Address");
|
||||
Db.All<JobDefinition>().Single().Name.Should().Be("Address");
|
||||
Db.All<JobDefinition>().Single().Name.Should().Be("B");
|
||||
Db.All<JobDefinition>().Single().Interval.Should().Be(12);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue