mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
added new test.
This commit is contained in:
@@ -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()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user