Skip to content

Commit

Permalink
fix(tests): associate AOI with user in TaskApiTest setup
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma committed Nov 26, 2024
1 parent 426274d commit c602508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/tests/test_endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def setUp(self):
self.client = RequestsClient()
self.user = OsmUserFactory(osm_id=123)
self.dataset = DatasetFactory(user=self.user)
self.aoi = AoiFactory(dataset=self.dataset)
self.aoi = AoiFactory(dataset=self.dataset, user=self.user)
self.model = ModelFactory(dataset=self.dataset, user=self.user)
self.json_type_header = headersList.copy()
self.json_type_header["content-type"] = "application/json"
Expand Down

0 comments on commit c602508

Please sign in to comment.