mirror of https://github.com/lidarr/Lidarr
added new test.
This commit is contained in:
parent
1adc2892db
commit
00e2f225f8
|
@ -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 New Issue