Skip to content

Commit 1f623fd

Browse files
authored
Fix Minitest::Result requirement
1 parent 8cd5fb1 commit 1f623fd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/domain_test.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,8 @@ def test_membership_for_posixGroups
236236

237237
class GitHubLdapActiveDirectoryGroupsTest < GitHub::Ldap::Test
238238
def run(*)
239-
self.class.test_env == "activedirectory" ? super : self
239+
return super if self.class.test_env == "activedirectory"
240+
Minitest::Result.from(self)
240241
end
241242

242243
def test_filter_groups

0 commit comments

Comments
 (0)