|
|
@ -13,7 +13,7 @@ namespace NzbDrone.Core.Test.Datastore
|
|
|
|
[TestFixture]
|
|
|
|
[TestFixture]
|
|
|
|
public class DatabaseRelationshipFixture : DbTest
|
|
|
|
public class DatabaseRelationshipFixture : DbTest
|
|
|
|
{
|
|
|
|
{
|
|
|
|
/* [Test]
|
|
|
|
/* [Test]
|
|
|
|
[Explicit]
|
|
|
|
[Explicit]
|
|
|
|
public void benchmark()
|
|
|
|
public void benchmark()
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -93,7 +93,7 @@ namespace NzbDrone.Core.Test.Datastore
|
|
|
|
var loadedEpisode = Db.Single<History.History>().Episode.Value;
|
|
|
|
var loadedEpisode = Db.Single<History.History>().Episode.Value;
|
|
|
|
|
|
|
|
|
|
|
|
loadedEpisode.Should().NotBeNull();
|
|
|
|
loadedEpisode.Should().NotBeNull();
|
|
|
|
loadedEpisode.ShouldHave().AllProperties().EqualTo(episode);
|
|
|
|
loadedEpisode.ShouldHave().AllProperties().But(c => c.SeriesTitle).EqualTo(episode);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|