You are here

11 calls to OgMembershipCreationTrait::createOgMembership() in Organic groups 8

AccessByOgMembershipTest::setUp in tests/src/Kernel/Access/AccessByOgMembershipTest.php
ActionTestBase::createUsers in tests/src/Kernel/Action/ActionTestBase.php
Creates test users.
GetMembershipsTest::setUp in tests/src/Kernel/Entity/GetMembershipsTest.php
GetUserGroupsTest::testGetGroupsByRoles in tests/src/Kernel/Entity/GetUserGroupsTest.php
Tests retrieval of groups filtered by roles.
GetUserGroupsTest::testIsMemberStates in tests/src/Kernel/Entity/GetUserGroupsTest.php
Tests member methods for states that other groups users are added to.
GetUserGroupsTest::testOtherGroups in tests/src/Kernel/Entity/GetUserGroupsTest.php
Tests other groups users are added to.
GroupMembershipManagerTest::createTestMemberships in tests/src/Kernel/Entity/GroupMembershipManagerTest.php
Creates a number of users that are members of the test groups.
GroupSubscribeTest::testUnSubscribeAccess in tests/src/Functional/GroupSubscribeTest.php
Tests access to un-subscribe page.
MemberCountBlockTest::addMember in tests/src/Kernel/Plugin/Block/MemberCountBlockTest.php
Adds a member with the given membership state to the given group.
OgAccessHookTest::setUp in tests/src/Kernel/Access/OgAccessHookTest.php
OgGroupContentOperationAccessTest::setUp in tests/src/Kernel/Access/OgGroupContentOperationAccessTest.php