mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 05:23:31 -07:00
still very broken
This commit is contained in:
parent
2d4998d52d
commit
4504232956
43 changed files with 264 additions and 339 deletions
|
@ -36,7 +36,7 @@ namespace NzbDrone.Core.Test.Datastore
|
|||
[Test]
|
||||
public void should_be_able_to_add()
|
||||
{
|
||||
Subject.Add(sampleType);
|
||||
Subject.Insert(sampleType);
|
||||
Subject.All().Should().HaveCount(1);
|
||||
}
|
||||
|
||||
|
@ -45,7 +45,7 @@ namespace NzbDrone.Core.Test.Datastore
|
|||
[Test]
|
||||
public void should_be_able_to_delete_model()
|
||||
{
|
||||
Subject.Add(sampleType);
|
||||
Subject.Insert(sampleType);
|
||||
Subject.All().Should().HaveCount(1);
|
||||
|
||||
Subject.Delete(sampleType.OID);
|
||||
|
@ -55,7 +55,7 @@ namespace NzbDrone.Core.Test.Datastore
|
|||
[Test]
|
||||
public void should_be_able_to_find_by_id()
|
||||
{
|
||||
Subject.Add(sampleType);
|
||||
Subject.Insert(sampleType);
|
||||
Subject.Get(sampleType.OID)
|
||||
.ShouldHave()
|
||||
.AllProperties()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue