function AccessAnnouncementTest::setUp

Same name in other branches
  1. 11.x core/modules/announcements_feed/tests/src/FunctionalJavascript/AccessAnnouncementTest.php \Drupal\Tests\announcements_feed\FunctionalJavascript\AccessAnnouncementTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/announcements_feed/tests/src/FunctionalJavascript/AccessAnnouncementTest.php, line 35

Class

AccessAnnouncementTest
Test the access announcement permissions to get access announcement icon.

Namespace

Drupal\Tests\announcements_feed\FunctionalJavascript

Code

public function setUp() : void {
    parent::setUp();
    AnnounceTestHttpClientMiddleware::setAnnounceTestEndpoint('/announce-feed-json/community-feeds');
}

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