protected function oa_coreBaseWebTest::createUserInOaSpace in Open Atrium Core 7.2
6 calls to oa_coreBaseWebTest::createUserInOaSpace()
- oa_coreBaseWebTest::createOaSpaceAndUsers in tests/
oa_coreBase.test - oa_corePermissionWeb::test_oa_sectionsAccess in tests/
oa_corePermissionWeb.test - oa_sectionsAccess::test_oa_sectionsAccess in modules/
oa_sections/ tests/ oa_sectionsAccess.test - oa_sectionsNodePrivateAccess::test_oa_sectionsPrivateAccess in modules/
oa_sections/ tests/ oa_sectionsNodePrivateAccess.test - oa_sectionsNodePublicAccess::test_oa_sectionsPrivateAccess in modules/
oa_sections/ tests/ oa_sectionsNodePublicAccess.test
File
- tests/
oa_coreBase.test, line 48 - Provides a base unit test class.
Class
- oa_coreBaseWebTest
- Base class for testing openatrium web interaction.
Code
protected function createUserInOaSpace($space, $permissions = array()) {
$member = $this
->drupalCreateUser();
og_group('node', $space, array(
'entity' => $member,
));
return $member;
}