tests: fix broken tests.

This commit is contained in:
evazion
2021-05-15 01:03:32 -05:00
parent cb8cbed0ec
commit ffbf7f1ccf
5 changed files with 7 additions and 4 deletions

View File

@@ -21,7 +21,6 @@ class Admin::UsersControllerTest < ActionDispatch::IntegrationTest
put_auth admin_user_path(@user), @mod, params: {:user => {:level => "30"}}
assert_redirected_to(edit_admin_user_path(@user))
assert_equal(30, @user.reload.level)
assert_equal(@mod.id, @user.inviter_id)
end
should "promote the user to unrestricted uploads" do