-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
18 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,6 @@ models: | |
- name: int__union_contacts__enhanced | ||
columns: | ||
- name: _di_surrogate_id | ||
- name: _courriel_original | ||
- name: id | ||
- name: source | ||
- name: contact_nom_prenom | ||
|
@@ -245,10 +244,11 @@ unit_tests: | |
- {"source": "autre", "id": "solo", "courriel": "[email protected]", "contact_nom_prenom": "Autre Personne", "telephone": "06666666"} | ||
- input: ref('int_brevo__contacts') | ||
rows: | ||
# note: values can't be NULL. has_hardbounced is set to true/false by brevo, and was_objected to is set to true/false by us. | ||
- {"courriel": "[email protected]", "has_hardbounced": true, "was_objected_to": true} | ||
- {"courriel": "[email protected]", "has_hardbounced": false, "was_objected_to": true} | ||
- {"courriel": "[email protected]", "has_hardbounced": false, "was_objected_to": null} | ||
- {"courriel": "[email protected]", "has_hardbounced": true, "was_objected_to": null} | ||
- {"courriel": "[email protected]", "has_hardbounced": false, "was_objected_to": false} | ||
- {"courriel": "[email protected]", "has_hardbounced": true, "was_objected_to": false} | ||
expect: | ||
rows: | ||
- {source: dora, id: foo, courriel: NULL, contact_nom_prenom: NULL, telephone: NULL} # objected to, hardbounce | ||
|
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