protected function SocialApiTestBase::setUp in Social API 8.2
Same name and namespace in other branches
- 3.x tests/src/Functional/SocialApiTestBase.php \Drupal\Tests\social_api\Functional\SocialApiTestBase::setUp()
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ SocialApiTestBase.php, line 95
Class
- SocialApiTestBase
- Defines a base class for testing Social Auth implementers.
Namespace
Drupal\Tests\social_api\FunctionalCode
protected function setUp() {
parent::setUp();
// Create a non-administrative user.
$this->noPermsUser = $this
->drupalCreateUser();
// Create an administrative user.
$this->adminUser = $this
->drupalCreateUser($this->adminUserPermissions);
}