Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GillesTourreau committed Aug 21, 2024
1 parent d585249 commit 97aa640
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ public void Compare()
differences.Objects[4].Type.Should().Be("ForeignKeys");

differences.Objects[4].Differences.Should().HaveCount(3);
differences.Objects[4].Differences[0].ToString().Should().Be("ForeignKeyDifference:\r\n- DeleteAction: (Source: CASCADE, Target: NO_ACTION)\r\n- UpdateAction: (Source: CASCADE, Target: SET_NULL)");
differences.Objects[4].Differences[1].ToString().Should().Be("(Missing) <=> ForeignKeyTarget");
differences.Objects[4].Differences[2].ToString().Should().Be("ForeignKeySource <=> (Missing)");
differences.Objects[4].Differences[0].ToString().Should().Be("TableDifference.ForeignKeyDifference.ForeignKeyId:\r\n- DeleteAction: (Source: CASCADE, Target: NO_ACTION)\r\n- UpdateAction: (Source: CASCADE, Target: SET_NULL)");
differences.Objects[4].Differences[1].ToString().Should().Be("(Missing) <=> TableTarget.ForeignKeyTarget.TargetForeignKeyId");
differences.Objects[4].Differences[2].ToString().Should().Be("TableSource.ForeignKeySource.SourceForeignKeyId <=> (Missing)");

// Indexes
differences.Objects[5].Type.Should().Be("Indexes");
Expand Down

0 comments on commit 97aa640

Please sign in to comment.