Skip to content

Commit

Permalink
Merge branch 'feature/edit-report-recipe' of https://github.com/minvw…
Browse files Browse the repository at this point in the history
…s/nl-kat-coordination into feature/edit-report-recipe
  • Loading branch information
madelondohmen committed Oct 28, 2024
2 parents 2124ab5 + 7b7b867 commit daa49f8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rocky/tests/objects/test_objects_edit.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,11 @@ def test_ooi_edit_report_recipe_get(rf, client_member, mock_organization_view_oc
assertContains(response, "Edit ReportRecipe: " + ooi_id)


def test_ooi_edit_report_recipe_post(rf, client_member, mock_organization_view_octopoes, report_recipe, mock_scheduler):
def test_ooi_edit_report_recipe_post(
rf, client_member, mock_organization_view_octopoes, report_recipe, mocker, mock_scheduler
):
mock_organization_view_octopoes().get.return_value = report_recipe
mocker.patch("rocky.views.ooi_view.create_ooi")
ooi_id = f"ReportRecipe|{report_recipe.recipe_id}"

request_url = (
Expand Down

0 comments on commit daa49f8

Please sign in to comment.