-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature/mx-1673 add matched test data (#227)
# PR Context - prep for #226 # Added - add two matched organizations to the test dummy data # Changed - rename `stable_target_id` to more appropriate `identifier` argument for merged queries
- Loading branch information
1 parent
412cf26
commit 735c51d
Showing
17 changed files
with
500 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,23 +86,23 @@ def test_search_extracted_items_mocked( | |
"version": None, | ||
} | ||
], | ||
"total": 8, | ||
"total": 10, | ||
}, | ||
), | ||
( | ||
"?limit=1&skip=6", | ||
"?limit=1&skip=9", | ||
{ | ||
"items": [ | ||
{ | ||
"$type": "ExtractedContactPoint", | ||
"email": ["[email protected]"], | ||
"hadPrimarySource": "bFQoRhcVH5DHUr", | ||
"identifier": "bFQoRhcVH5DHUw", | ||
"identifier": "bFQoRhcVH5DHUy", | ||
"identifierInPrimarySource": "cp-1", | ||
"stableTargetId": "bFQoRhcVH5DHUx", | ||
"stableTargetId": "bFQoRhcVH5DHUz", | ||
} | ||
], | ||
"total": 8, | ||
"total": 10, | ||
}, | ||
), | ||
( | ||
|
@@ -111,18 +111,18 @@ def test_search_extracted_items_mocked( | |
"items": [ | ||
{ | ||
"$type": "ExtractedContactPoint", | ||
"email": ["info@contact-point.one"], | ||
"email": ["help@contact-point.two"], | ||
"hadPrimarySource": "bFQoRhcVH5DHUr", | ||
"identifier": "bFQoRhcVH5DHUw", | ||
"identifierInPrimarySource": "cp-1", | ||
"stableTargetId": "bFQoRhcVH5DHUx", | ||
"identifier": "bFQoRhcVH5DHUA", | ||
"identifierInPrimarySource": "cp-2", | ||
"stableTargetId": "bFQoRhcVH5DHUB", | ||
}, | ||
{ | ||
"$type": "ExtractedContactPoint", | ||
"email": ["help@contact-point.two"], | ||
"email": ["info@contact-point.one"], | ||
"hadPrimarySource": "bFQoRhcVH5DHUr", | ||
"identifier": "bFQoRhcVH5DHUy", | ||
"identifierInPrimarySource": "cp-2", | ||
"identifierInPrimarySource": "cp-1", | ||
"stableTargetId": "bFQoRhcVH5DHUz", | ||
}, | ||
], | ||
|
@@ -153,21 +153,21 @@ def test_search_extracted_items_mocked( | |
}, | ||
), | ||
( | ||
"?stableTargetId=bFQoRhcVH5DHUv", | ||
"?stableTargetId=bFQoRhcVH5DHUx", | ||
{ | ||
"items": [ | ||
{ | ||
"$type": "ExtractedOrganizationalUnit", | ||
"alternativeName": [], | ||
"email": [], | ||
"hadPrimarySource": "bFQoRhcVH5DHUt", | ||
"identifier": "bFQoRhcVH5DHUu", | ||
"identifier": "bFQoRhcVH5DHUw", | ||
"identifierInPrimarySource": "ou-1", | ||
"name": [{"language": "en", "value": "Unit 1"}], | ||
"parentUnit": None, | ||
"shortName": [], | ||
"stableTargetId": "bFQoRhcVH5DHUv", | ||
"unitOf": [], | ||
"stableTargetId": "bFQoRhcVH5DHUx", | ||
"unitOf": ["bFQoRhcVH5DHUv"], | ||
"website": [], | ||
} | ||
], | ||
|
Oops, something went wrong.