Skip to content

Commit

Permalink
test: fix test of convenor access to unit list
Browse files Browse the repository at this point in the history
  • Loading branch information
macite committed Jun 14, 2024
1 parent 7ab67da commit 40efb64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/api/units_api_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def test_permissions_on_get
# Test convenor can not get all
add_auth_header_for(user: aconvenor)
get '/api/units'
assert_equal 403, last_response.status
assert_equal 200, last_response.status

# Test tutor can not get all
add_auth_header_for(user: atutor)
Expand Down

0 comments on commit 40efb64

Please sign in to comment.