Skip to content

Commit

Permalink
adds comment about update mask being not null on specific case (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
runeanielsen authored Jan 16, 2022
1 parent 70bc1b3 commit 1fc382c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/MsSqlCdc.Tests/CdcTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,9 @@ public async Task Get_net_changes_all_with_mask()
{
netChange.CaptureInstance.Should().Be(captureInstance);
netChange.StartLineSequenceNumber.Should().BeGreaterThan(default(BigInteger));
netChange.UpdateMask.Should().BeNull(); // TODO take a look at this
// UpdateMask will be non empty
// if table cleaned after insert and the row is updated again thereafter.
netChange.UpdateMask.Should().BeNull();
netChange.Operation.Should().Be(NetChangeOperation.Insert);
netChange.Fields["first_name"].Should().Be("Rune");
netChange.Fields["last_name"].Should().Be("Jensen");
Expand Down

0 comments on commit 1fc382c

Please sign in to comment.