Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
zwolf committed Jun 13, 2024
1 parent a50b9dc commit 0d48f49
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ def test_upload_file_to_storage(self):
@patch("panoptes_aggregation.batch_aggregation.Project")
def test_check_permission_success(self, mock_project):
mock_user = MagicMock()
mock_user.id = 100
# Panoptes responses return strings
mock_user.id = '100'
mock_project.find().collaborators.return_value = [mock_user]

ba = batch_agg.BatchAggregator(1, 10, 100)
Expand Down

0 comments on commit 0d48f49

Please sign in to comment.