]> source.dussan.org Git - redmine.git/commitdiff
Fix RuboCop offense Style/ReturnNilInPredicateMethodDefinition (#36919).
authorGo MAEDA <maeda@farend.jp>
Thu, 29 Jun 2023 01:56:18 +0000 (01:56 +0000)
committerGo MAEDA <maeda@farend.jp>
Thu, 29 Jun 2023 01:56:18 +0000 (01:56 +0000)
git-svn-id: https://svn.redmine.org/redmine/trunk@22264 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/test_helper.rb

index bd073ef749b43ac4ed0da0328c060348fc708bda..ed98f24f8647030a626c70956fecfe9a172c4c36 100644 (file)
@@ -126,7 +126,7 @@ class ActiveSupport::TestCase
     return @test_ldap.bind
   rescue => e
     # LDAP is not listening
-    return nil
+    return false
   end
 
   def self.convert_installed?