function AlertsJsonFeedTest::setUp
Same name in other branches
- 10 core/modules/announcements_feed/tests/src/FunctionalJavascript/AlertsJsonFeedTest.php \Drupal\Tests\announcements_feed\FunctionalJavascript\AlertsJsonFeedTest::setUp()
Overrides BrowserTestBase::setUp
File
-
core/
modules/ announcements_feed/ tests/ src/ FunctionalJavascript/ AlertsJsonFeedTest.php, line 43
Class
- AlertsJsonFeedTest
- Test the access announcement according to json feed changes.
Namespace
Drupal\Tests\announcements_feed\FunctionalJavascriptCode
public function setUp() : void {
parent::setUp();
$this->user = $this->drupalCreateUser([
'access toolbar',
'access announcements',
]);
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.