Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix phone numbers used in tests #3847

Merged
merged 1 commit into from
Aug 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions aleph/tests/test_entities_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ def test_entity_tags(self):
"collection_id": self.col_id,
"properties": {
"name": "Blaaaa blubb",
"phone": ["+491769817271", "+491769817999"],
"phone": ["+4917698172710", "+4917698179990"],
},
}
resa = self.client.post(
Expand All @@ -374,7 +374,7 @@ def test_entity_tags(self):
"collection_id": self.col_id,
"properties": {
"name": "Nobody Man",
"phone": ["+491769817271", "+491769817777"],
"phone": ["+4917698172710", "+4917698177770"],
},
}
resa = self.client.post(
Expand All @@ -385,7 +385,7 @@ def test_entity_tags(self):
assert res.status_code == 200, (res.status_code, res.json)
results = res.json["results"]
assert len(results) == 1, results
assert results[0]["value"] == "+491769817271", results
assert results[0]["value"] == "+4917698172710", results
validate(res.json["results"][0], "EntityTag")

def test_undelete(self):
Expand Down
Loading