diff --git a/test/fixtures/roles.yml b/test/fixtures/roles.yml index d6c0ed2..7194957 100644 --- a/test/fixtures/roles.yml +++ b/test/fixtures/roles.yml @@ -37,3 +37,8 @@ profile_member: key: 'profile_member' name: 'Profile Member' system: true +profile_moderator: + id: 7 + key: 'profile_moderator' + name: 'Profile Moderator' + system: true diff --git a/test/unit/organization_test.rb b/test/unit/organization_test.rb index 5929e64..1f8ddc8 100644 --- a/test/unit/organization_test.rb +++ b/test/unit/organization_test.rb @@ -188,7 +188,6 @@ class OrganizationTest < Test::Unit::TestCase p = create_user('myanothertestuser').person o.add_moderator(p) - o.reload assert o.members.include?(p), "Organization should add the new moderator" end -- libgit2 0.21.2