From 10e672a57151d2f3505c6f25050743fff17874c5 Mon Sep 17 00:00:00 2001 From: Robin Munn Date: Wed, 4 Dec 2024 12:38:04 +0700 Subject: [PATCH] Update test expectations so it won't fail wrongly --- backend/FwLite/FwLiteProjectSync.Tests/UpdateDiffTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/FwLite/FwLiteProjectSync.Tests/UpdateDiffTests.cs b/backend/FwLite/FwLiteProjectSync.Tests/UpdateDiffTests.cs index 2d1eb2058..37d4b7026 100644 --- a/backend/FwLite/FwLiteProjectSync.Tests/UpdateDiffTests.cs +++ b/backend/FwLite/FwLiteProjectSync.Tests/UpdateDiffTests.cs @@ -37,7 +37,7 @@ public async Task SenseDiffShouldUpdateAllFields() var senseDiffToUpdate = await SenseSync.SenseDiffToUpdate(before, after); ArgumentNullException.ThrowIfNull(senseDiffToUpdate); senseDiffToUpdate.Apply(before); - before.Should().BeEquivalentTo(after, options => options.Excluding(x => x.Id).Excluding(x => x.EntryId).Excluding(x => x.DeletedAt).Excluding(x => x.ExampleSentences)); + before.Should().BeEquivalentTo(after, options => options.Excluding(x => x.Id).Excluding(x => x.EntryId).Excluding(x => x.DeletedAt).Excluding(x => x.ExampleSentences).Excluding(x => x.SemanticDomains)); } [Fact]