function QuickEditImageTest::setUp

Same name in other branches
  1. 9 core/modules/quickedit/tests/src/FunctionalJavascript/QuickEditImageTest.php \Drupal\Tests\quickedit\FunctionalJavascript\QuickEditImageTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/image/tests/src/FunctionalJavascript/QuickEditImageTest.php, line 40

Class

QuickEditImageTest
@coversDefaultClass \Drupal\image\Plugin\InPlaceEditor\Image @group image

Namespace

Drupal\Tests\image\FunctionalJavascript

Code

protected function setUp() {
    parent::setUp();
    // Create the Article node type.
    $this->drupalCreateContentType([
        'type' => 'article',
        'name' => 'Article',
    ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.