summaryrefslogtreecommitdiff
path: root/test/integration/api/login_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/api/login_test.rb')
-rw-r--r--test/integration/api/login_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/api/login_test.rb b/test/integration/api/login_test.rb
index 92d153f..f37639e 100644
--- a/test/integration/api/login_test.rb
+++ b/test/integration/api/login_test.rb
@@ -45,6 +45,6 @@ class LoginTest < SrpTest
test "logout requires token" do
authenticate
logout(nil, {})
- assert_equal 422, last_response.status
+ assert_login_required
end
end