Skip to content

Commit

Permalink
EKIR-213 Update new status code in test
Browse files Browse the repository at this point in the history
  • Loading branch information
natlibfi-kaisa committed Sep 18, 2024
1 parent 59b9dea commit b0bbb6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/api/controller/test_loan.py
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@ def test_loan_fails_when_patron_is_at_hold_limit_and_hold_position_zero(
)
assert isinstance(response, ProblemDetail)
assert NO_COPIES_WHEN_RESERVED.uri == response.uri
assert 403 == response.status_code
assert 502 == response.status_code

def test_borrow_fails_with_outstanding_fines(
self, loan_fixture: LoanFixture, library_fixture: LibraryFixture
Expand Down

0 comments on commit b0bbb6c

Please sign in to comment.