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