From e41551632d7dd97a962c4c23a86b4a30510e07b6 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Thu, 29 Jun 2023 01:56:18 +0000 Subject: Fix RuboCop offense Style/ReturnNilInPredicateMethodDefinition (#36919). git-svn-id: https://svn.redmine.org/redmine/trunk@22264 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/test_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_helper.rb') diff --git a/test/test_helper.rb b/test/test_helper.rb index bd073ef74..ed98f24f8 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -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? -- cgit v1.2.3