protected function SharerichTests::setUp in Sharerich 8
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ SharerichTests.php, line 55
Class
- SharerichTests
- Sharerich tests.
Namespace
Drupal\Tests\sharerich\FunctionalCode
protected function setUp() {
parent::setUp();
// Services to test.
$this->services = [
'facebook',
'email',
'tumblr',
'twitter',
];
// Create admin user.
$this->adminUser = $this
->drupalCreateUser([
'access administration pages',
'administer sharerich',
'administer blocks',
'access contextual links',
], 'Sharerich Admin', TRUE);
//@todo remove TRUE
}