diff options
-rw-r--r-- | test/unit/user_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb index 74d0f757e..1c85625e9 100644 --- a/test/unit/user_test.rb +++ b/test/unit/user_test.rb @@ -496,7 +496,7 @@ class UserTest < ActiveSupport::TestCase end context "with an unsuccessful authentication" do - should "return the user" do + should "return nil" do assert_nil User.try_to_login('example1', '11111') end end @@ -546,7 +546,7 @@ class UserTest < ActiveSupport::TestCase end context "with an unsuccessful authentication" do - should "return the user" do + should "return nil" do assert_nil User.try_to_login('example1', '11111') end end |