Skip to content

Commit

Permalink
✅ [#315] Updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ErhanCitil committed Jun 6, 2023
1 parent b0017cf commit b3264b6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/objects/tests/v1/test_auth_fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ def test_search_with_fields_auth(self):
fields={"1": ["url", "type", "record__geometry"]},
)
record = ObjectRecordFactory.create(
geometry=Point(52.369918, 4.905289),
geometry=Point(4.905289, 52.369918),
object__object_type=self.object_type,
data={"name": "some"},
version=1,
Expand Down
2 changes: 1 addition & 1 deletion src/objects/tests/v1/test_object_api_fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def test_retrieve_with_selected_fields(self):
"record": {
"geometry": {
"type": "Point",
"coordinates": [52.37240093589432, 4.910649523925713],
"coordinates": [4.910649523925713, 52.37240093589432],
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion src/objects/tests/v2/test_auth_fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ def test_search_with_fields_auth(self):
fields={"1": ["url", "type", "record__geometry"]},
)
record = ObjectRecordFactory.create(
geometry=Point(52.369918, 4.905289),
geometry=Point(4.905289, 52.369918),
object__object_type=self.object_type,
data={"name": "some"},
version=1,
Expand Down
2 changes: 1 addition & 1 deletion src/objects/tests/v2/test_object_api_fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def test_retrieve_with_selected_fields(self):
"record": {
"geometry": {
"type": "Point",
"coordinates": [52.37240093589432, 4.910649523925713],
"coordinates": [4.910649523925713, 52.37240093589432],
},
},
},
Expand Down

0 comments on commit b3264b6

Please sign in to comment.