protected function SocialPostTestBase::setUp in Social Post 3.x
Same name and namespace in other branches
- 8.2 tests/src/Functional/SocialPostTestBase.php \Drupal\Tests\social_post\Functional\SocialPostTestBase::setUp()
Overrides SocialApiTestBase::setUp
File
- tests/
src/ Functional/ SocialPostTestBase.php, line 22
Class
- SocialPostTestBase
- Defines a base class for testing Social Post implementers.
Namespace
Drupal\Tests\social_post\FunctionalCode
protected function setUp() : void {
$this->adminUserPermissions = [
'administer social api autoposting',
];
$this->moduleType = 'social-post';
parent::setUp();
}