SocialPostTestBase.php in Social Post 3.x
Same filename and directory in other branches
Namespace
Drupal\Tests\social_post\FunctionalFile
tests/src/Functional/SocialPostTestBase.phpView source
<?php
namespace Drupal\Tests\social_post\Functional;
use Drupal\Tests\social_api\Functional\SocialApiTestBase;
/**
* Defines a base class for testing Social Post implementers.
*/
abstract class SocialPostTestBase extends SocialApiTestBase {
/**
* Modules to enable.
*
* @var array
*/
protected static $modules = [
'block',
'social_post',
];
/**
* {@inheritdoc}
*/
protected function setUp() : void {
$this->adminUserPermissions = [
'administer social api autoposting',
];
$this->moduleType = 'social-post';
parent::setUp();
}
}
Classes
Name![]() |
Description |
---|---|
SocialPostTestBase | Defines a base class for testing Social Post implementers. |