null EmbeddedDocuments are now stored as DBNull instead of json null.

This commit is contained in:
Taloth Saldono 2014-07-28 13:16:40 +02:00
parent b0c45aef50
commit b427954f5f
11 changed files with 47 additions and 11 deletions

View file

@ -36,6 +36,7 @@ namespace NzbDrone.Core.Test.Datastore
var episodeFiles = Builder<EpisodeFile>.CreateListOfSize(1)
.All()
.With(v => v.SeriesId = series[0].Id)
.With(v => v.Quality = new QualityModel())
.BuildListOfNew();
Db.InsertMany(episodeFiles);