Skip to content

Commit

Permalink
Merge pull request #3847 from alephdata/fix/test-phone-numbers
Browse files Browse the repository at this point in the history
Fix phone numbers used in tests
  • Loading branch information
tillprochaska authored Aug 15, 2024
2 parents 1367077 + b683010 commit 0b28629
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit 0b28629

Please sign in to comment.