From 79f9805c52b15c3799c7a3925917fc40227269c5 Mon Sep 17 00:00:00 2001 From: kayone Date: Sun, 24 Aug 2014 18:52:05 -0700 Subject: [PATCH] fixed property comparison order --- .../Datastore/DatabaseRelationshipFixture.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/NzbDrone.Core.Test/Datastore/DatabaseRelationshipFixture.cs b/src/NzbDrone.Core.Test/Datastore/DatabaseRelationshipFixture.cs index 5e31df698..574faef24 100644 --- a/src/NzbDrone.Core.Test/Datastore/DatabaseRelationshipFixture.cs +++ b/src/NzbDrone.Core.Test/Datastore/DatabaseRelationshipFixture.cs @@ -90,6 +90,10 @@ namespace NzbDrone.Core.Test.Datastore loadedEpisodeFile.Should().NotBeNull(); loadedEpisodeFile.ShouldBeEquivalentTo(episodeFile, + options => options + .IncludingAllRuntimeProperties() + .Excluding(c => c.DateAdded) + .Excluding(c => c.Path)); } [Test]