Add fixtures; minor changes

This commit is contained in:
2022-10-03 09:17:29 +02:00
parent cf83e0074e
commit 81a55ba452
11 changed files with 102 additions and 2 deletions

8
tests/fixtures/geography/address.json vendored Normal file
View File

@ -0,0 +1,8 @@
[
{
"id": 9999999,
"house_number": "123AB",
"supplement": "whatever",
"street_id": 1
}
]

23
tests/fixtures/geography/city.json vendored Normal file
View File

@ -0,0 +1,23 @@
[
{
"id": 1122,
"zip_code": "10405",
"name": "Berlin",
"state_province_id": 100
}, {
"id": 9,
"zip_code": "33299",
"name": "Miami",
"state_province_id": 30
}, {
"id": 10,
"zip_code": "33694",
"name": "Tampa",
"state_province_id": 30
}, {
"id": 78787878,
"zip_code": "91000",
"name": "Luhansk",
"state_province_id": 4531354
}
]

View File

@ -0,0 +1,15 @@
[
{
"id": 100,
"country": "DE",
"name": "Berlin"
}, {
"id": 30,
"country": "US",
"name": "Florida"
}, {
"id": 4531354,
"country": "UA",
"name": "Luhansk Oblast"
}
]

7
tests/fixtures/geography/street.json vendored Normal file
View File

@ -0,0 +1,7 @@
[
{
"id": 1,
"name": "Some Street",
"city_id": 1122
}
]