Skip to content

Commit

Permalink
test respect new validation logic
Browse files Browse the repository at this point in the history
  • Loading branch information
vabene1111 committed Jul 8, 2024
1 parent 45106ae commit af9a956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbook/tests/api/test_api_recipe_book_entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def test_add_duplicate(u1_s1, obj_1):
{'book': obj_1.book.pk, 'recipe': obj_1.recipe.pk},
content_type='application/json'
)
assert r.status_code == 201
assert r.status_code == 400


def test_delete(u1_s1, u1_s2, obj_1):
Expand Down

0 comments on commit af9a956

Please sign in to comment.