function QuickEditImageTest::setUp

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

Overrides BrowserTestBase::setUp

File

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

Class

QuickEditImageTest
@coversDefaultClass \Drupal\quickedit\Plugin\InPlaceEditor\Image @group quickedit @group legacy

Namespace

Drupal\Tests\quickedit\FunctionalJavascript

Code

protected function setUp() : void {
    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.