summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2015-03-11 15:29:43 -0700
committerelijah <elijah@riseup.net>2015-03-17 22:36:32 -0700
commitcf586771b628aea022b88b2c6d3e201338b80faf (patch)
tree8883aec893e57b5cfa27cca837d15b003f370363 /test
parent9266c3ac58404894539e25e514d8d8a6775c701f (diff)
Better error message when a database is missing (very useful for nagios tests)
Diffstat (limited to 'test')
-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 f37639e..22047bc 100644
--- a/test/integration/api/login_test.rb
+++ b/test/integration/api/login_test.rb
@@ -14,9 +14,9 @@ class LoginTest < SrpTest
test "login with srp" do
authenticate
+ assert_nil server_auth["error"]
assert_equal ["M2", "id", "token"], server_auth.keys
assert last_response.successful?
- assert_nil server_auth["errors"]
assert server_auth["M2"]
end