protected function AdminTest::setUp in Background Image 8
Same name and namespace in other branches
- 2.x tests/src/Functional/AdminTest.php \Drupal\Tests\background_image\Functional\AdminTest::setUp()
- 2.0.x tests/src/Functional/AdminTest.php \Drupal\Tests\background_image\Functional\AdminTest::setUp()
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ AdminTest.php, line 36
Class
- AdminTest
- Tests adding image and viewing them through UI.
Namespace
Drupal\Tests\background_image\FunctionalCode
protected function setUp() {
parent::setUp();
$this->adminUser = $this
->drupalCreateUser([
'administer background image',
'add background image',
'edit background image',
]);
}