protected function CustomProvidersUiTest::setUp in oEmbed Providers 1.0.x
Same name in this branch
- 1.0.x tests/src/Functional/CustomProvidersUiTest.php \Drupal\Tests\oembed_providers\Functional\CustomProvidersUiTest::setUp()
- 1.0.x tests/src/FunctionalJavascript/CustomProvidersUiTest.php \Drupal\Tests\oembed_providers\FunctionalJavascript\CustomProvidersUiTest::setUp()
Same name and namespace in other branches
- 2.x tests/src/Functional/CustomProvidersUiTest.php \Drupal\Tests\oembed_providers\Functional\CustomProvidersUiTest::setUp()
- 1.1.x tests/src/Functional/CustomProvidersUiTest.php \Drupal\Tests\oembed_providers\Functional\CustomProvidersUiTest::setUp()
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ CustomProvidersUiTest.php, line 47
Class
- CustomProvidersUiTest
- Class CustomProvidersUiTest.
Namespace
Drupal\Tests\oembed_providers\FunctionalCode
protected function setUp() {
parent::setUp();
// Create an admin user.
$this->adminUser = $this
->drupalCreateUser([
'access administration pages',
'administer oembed providers',
]);
// Create a non-admin user.
$this->nonAdminUser = $this
->drupalCreateUser([
'access administration pages',
]);
}