mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
renamed EventAggregator to MessageAggregator
This commit is contained in:
parent
3638d85314
commit
7ae9e79540
53 changed files with 161 additions and 125 deletions
|
@ -29,9 +29,32 @@ namespace NzbDrone.Integration.Test
|
|||
RootFolders.Delete(postResponse.Id);
|
||||
|
||||
RootFolders.All().Should().BeEmpty();
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
[TestFixture]
|
||||
public class QualityProfileIntegrationTest : IntegrationTest
|
||||
{
|
||||
[Test]
|
||||
public void should_have_2_quality_profiles_initially()
|
||||
{
|
||||
RootFolders.All().Should().BeEmpty();
|
||||
|
||||
var rootFolder = new RootFolderResource
|
||||
{
|
||||
Path = Directory.GetCurrentDirectory()
|
||||
};
|
||||
|
||||
var postResponse = RootFolders.Post(rootFolder);
|
||||
|
||||
postResponse.Id.Should().NotBe(0);
|
||||
postResponse.FreeSpace.Should().NotBe(0);
|
||||
|
||||
RootFolders.All().Should().OnlyContain(c => c.Id == postResponse.Id);
|
||||
|
||||
RootFolders.Delete(postResponse.Id);
|
||||
|
||||
RootFolders.All().Should().BeEmpty();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -34,7 +34,7 @@ namespace NzbDrone.Integration.Test
|
|||
}
|
||||
|
||||
[Test]
|
||||
public void should_be_able_to_add_series()
|
||||
public void should_be_able_to_add_and_delete_series()
|
||||
{
|
||||
var series = Series.Lookup("archer").First();
|
||||
|
||||
|
@ -45,6 +45,10 @@ namespace NzbDrone.Integration.Test
|
|||
Series.Post(series);
|
||||
|
||||
Series.All().Should().HaveCount(1);
|
||||
|
||||
Series.Delete(series.Id);
|
||||
|
||||
Series.All().Should().BeEmpty();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue