Issue #3131402 by longwave, jungle, Berdir: Remove return type hints from abstract test classes
parent
bd64783975
commit
9632fb98a1
|
@ -52,7 +52,7 @@ abstract class LocaleUpdateBase extends BrowserTestBase {
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
protected function setUp(): void {
|
protected function setUp() {
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
|
|
||||||
// Setup timestamps to identify old and new translation sources.
|
// Setup timestamps to identify old and new translation sources.
|
||||||
|
|
|
@ -56,7 +56,7 @@ trait MediaFunctionalTestTrait {
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
protected function setUp(): void {
|
protected function setUp() {
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
|
|
||||||
// Have two users ready to be used in tests.
|
// Have two users ready to be used in tests.
|
||||||
|
|
|
@ -14,7 +14,7 @@ abstract class MediaSourceTestBase extends MediaJavascriptTestBase {
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
protected function setUp(): void {
|
protected function setUp() {
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
|
|
||||||
// Let's set the canonical flag in the base class of the source tests,
|
// Let's set the canonical flag in the base class of the source tests,
|
||||||
|
|
|
@ -24,7 +24,7 @@ abstract class MigrateProcessTestCase extends MigrateTestCase {
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
protected function setUp(): void {
|
protected function setUp() {
|
||||||
$this->row = $this->getMockBuilder('Drupal\migrate\Row')
|
$this->row = $this->getMockBuilder('Drupal\migrate\Row')
|
||||||
->disableOriginalConstructor()
|
->disableOriginalConstructor()
|
||||||
->getMock();
|
->getMock();
|
||||||
|
|
|
@ -28,7 +28,7 @@ abstract class MigrationLookupTestCase extends MigrateProcessTestCase {
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
protected function setUp(): void {
|
protected function setUp() {
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
$this->migrateStub = $this->prophesize(MigrateStub::class);
|
$this->migrateStub = $this->prophesize(MigrateStub::class);
|
||||||
$this->migrateLookup = $this->prophesize(MigrateLookupInterface::class);
|
$this->migrateLookup = $this->prophesize(MigrateLookupInterface::class);
|
||||||
|
|
|
@ -39,7 +39,7 @@ abstract class TourTestBasic extends TourTestBase {
|
||||||
*/
|
*/
|
||||||
protected $permissions = ['access tour'];
|
protected $permissions = ['access tour'];
|
||||||
|
|
||||||
protected function setUp(): void {
|
protected function setUp() {
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
|
|
||||||
// Make sure we are using distinct default and administrative themes for
|
// Make sure we are using distinct default and administrative themes for
|
||||||
|
|
|
@ -37,7 +37,7 @@ abstract class MTimeProtectedFileStorageBase extends PhpStorageTestBase {
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
protected function setUp(): void {
|
protected function setUp() {
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
|
|
||||||
// Random generator.
|
// Random generator.
|
||||||
|
|
Loading…
Reference in New Issue