mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-27 02:07:41 +00:00
added new test.
This commit is contained in:
parent
1adc2892db
commit
00e2f225f8
1 changed files with 9 additions and 0 deletions
|
@ -56,6 +56,15 @@ namespace NzbDrone.Core.Test.Datastore
|
||||||
Assert.Throws<InvalidOperationException>(() => Db.Update(testSeries));
|
Assert.Throws<InvalidOperationException>(() => Db.Update(testSeries));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
[Test]
|
||||||
|
public void should_be_able_to_store_empty_list()
|
||||||
|
{
|
||||||
|
var series = new List<Series>();
|
||||||
|
|
||||||
|
Db.InsertMany(series);
|
||||||
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void should_not_store_dirty_data_in_cache()
|
public void should_not_store_dirty_data_in_cache()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue