Unverified Commit 0dc28534 authored by alexpott's avatar alexpott

Issue #3107732 by mondrake, longwave, swatichouhan012, salah1, xjm, catch,...

Issue #3107732 by mondrake, longwave, swatichouhan012, salah1, xjm, catch, alexpott, Berdir: Between April 13 and April 17, 2020: Add return typehints to setUp/tearDown methods in concrete test classes
parent aafcd8d6

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

......@@ -26,7 +26,7 @@ class ActionFormAjaxTest extends WebDriverTestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
$user = $this->drupalCreateUser(['administer actions']);
$this->drupalLogin($user);
......
......@@ -22,7 +22,7 @@ class MigrateActionConfigsTest extends MigrateDrupal6TestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
$this->executeMigration('action_settings');
}
......
......@@ -17,7 +17,7 @@ class MigrateActionsTest extends MigrateDrupal6TestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
$this->executeMigration('d6_action');
}
......
......@@ -22,7 +22,7 @@ class MigrateActionConfigsTest extends MigrateDrupal7TestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
$this->executeMigration('action_settings');
}
......
......@@ -17,7 +17,7 @@ class MigrateActionsTest extends MigrateDrupal7TestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
$this->executeMigration('d7_action');
}
......
......@@ -11,7 +11,7 @@
*/
class ActionLocalTasksTest extends LocalTaskIntegrationTestBase {
protected function setUp() {
protected function setUp(): void {
$this->directoryList = ['action' => 'core/modules/action'];
parent::setUp();
}
......
......@@ -16,7 +16,7 @@ class AddFeedTest extends AggregatorTestBase {
*/
protected $defaultTheme = 'stark';
protected function setUp() {
protected function setUp(): void {
parent::setUp();
$this->drupalPlaceBlock('page_title_block');
......
......@@ -21,7 +21,7 @@ class AggregatorDisplayConfigurableTest extends AggregatorTestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
$this->drupalPlaceBlock('page_title_block');
......
......@@ -24,7 +24,7 @@ class AggregatorRenderingTest extends AggregatorTestBase {
*/
protected $defaultTheme = 'stark';
protected function setUp() {
protected function setUp(): void {
parent::setUp();
$this->drupalPlaceBlock('page_title_block');
......
......@@ -27,7 +27,7 @@ class FeedCacheTagsTest extends EntityWithUriCacheTagsTestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
// Give anonymous users permission to access feeds, so that we can verify
......
......@@ -19,7 +19,7 @@ class FeedFetcherPluginTest extends AggregatorTestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
// Enable test plugins.
$this->enableTestPlugins();
......
......@@ -36,7 +36,7 @@ class FeedLanguageTest extends AggregatorTestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
// Create test languages.
......
......@@ -23,7 +23,7 @@ class FeedParserTest extends AggregatorTestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
// Do not delete old aggregator items during these tests, since our sample
// feeds have hardcoded dates in them (which may be expired when this test
......
......@@ -22,7 +22,7 @@ class FeedProcessorPluginTest extends AggregatorTestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
// Enable test plugins.
$this->enableTestPlugins();
......
......@@ -26,7 +26,7 @@ class ImportOpmlTest extends AggregatorTestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();