Skip to content

Testing: Test if LocationIDs are properly updated when merging #65

Open
@AndreasSko

Description

While working on #52 I noticed that for Notes and TagMaps the merging tests don't notice if

merger.UpdateLRIDs(left.Note, right.Note, "LocationID", locationIDChanges)
and
merger.UpdateLRIDs(left.TagMap, right.TagMap, "LocationID", locationIDChanges)
are commented out. There is a similar issue in:
merger.UpdateLRIDs(dbw.leftTmp.Note, dbw.rightTmp.Note, "LocationID", locationIDChanges)
.
The tests should be updated to fail if LocationsIDs are not properly updated.

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions