Skip to content
Snippets Groups Projects
Commit 42fea269 authored by Project Update Bot's avatar Project Update Bot Committed by David Pashaev
Browse files

Issue #3369570 by Project Update Bot: Automated Drupal 10 compatibility fixes

parent 548599f3
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ class NodeorderCrudTest extends TaxonomyTestBase { ...@@ -20,7 +20,7 @@ class NodeorderCrudTest extends TaxonomyTestBase {
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public static $modules = ['taxonomy', 'node', 'nodeorder']; protected static $modules = ['taxonomy', 'node', 'nodeorder'];
/** /**
* The node order manager. * The node order manager.
...@@ -48,7 +48,7 @@ class NodeorderCrudTest extends TaxonomyTestBase { ...@@ -48,7 +48,7 @@ class NodeorderCrudTest extends TaxonomyTestBase {
* *
* @see \Drupal\taxonomy\Tests\TermTest::setUp() * @see \Drupal\taxonomy\Tests\TermTest::setUp()
*/ */
public function setUp() { public function setUp(): void {
parent::setUp(); parent::setUp();
$this->nodeOrderManager = $this->container->get('nodeorder.manager'); $this->nodeOrderManager = $this->container->get('nodeorder.manager');
......
...@@ -33,12 +33,12 @@ class NodeorderPermissionsTest extends BrowserTestBase { ...@@ -33,12 +33,12 @@ class NodeorderPermissionsTest extends BrowserTestBase {
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public static $modules = ['taxonomy', 'nodeorder']; protected static $modules = ['taxonomy', 'nodeorder'];
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function setUp() { public function setUp(): void {
parent::setUp(); parent::setUp();
$this->configFactory = $this->container->get('config.factory'); $this->configFactory = $this->container->get('config.factory');
......
...@@ -17,7 +17,7 @@ class NodeorderConfigSchemaTest extends KernelTestBase { ...@@ -17,7 +17,7 @@ class NodeorderConfigSchemaTest extends KernelTestBase {
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public static $modules = ['system', 'nodeorder']; protected static $modules = ['system', 'nodeorder'];
/** /**
* The typed config handler. * The typed config handler.
...@@ -36,7 +36,7 @@ class NodeorderConfigSchemaTest extends KernelTestBase { ...@@ -36,7 +36,7 @@ class NodeorderConfigSchemaTest extends KernelTestBase {
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
protected function setUp() { protected function setUp(): void {
parent::setUp(); parent::setUp();
$this->typedConfig = $this->container->get('config.typed'); $this->typedConfig = $this->container->get('config.typed');
......
...@@ -22,7 +22,7 @@ class NodeorderInstallTest extends NodeorderInstallTestBase { ...@@ -22,7 +22,7 @@ class NodeorderInstallTest extends NodeorderInstallTestBase {
$this->assertTrue($index_exists); $this->assertTrue($index_exists);
$extension_config = $this->container->get('config.factory')->getEditable('core.extension'); $extension_config = $this->container->get('config.factory')->getEditable('core.extension');
$this->assertEqual($extension_config->get('module.nodeorder'), 5); $this->assertEquals($extension_config->get('module.nodeorder'), 5);
} }
} }
...@@ -14,7 +14,7 @@ abstract class NodeorderInstallTestBase extends KernelTestBase { ...@@ -14,7 +14,7 @@ abstract class NodeorderInstallTestBase extends KernelTestBase {
* *
* @var array * @var array
*/ */
public static $modules = ['system', 'filter', 'text', 'taxonomy', 'user']; protected static $modules = ['system', 'filter', 'text', 'taxonomy', 'user'];
/** /**
* The module installer. * The module installer.
...@@ -33,7 +33,7 @@ abstract class NodeorderInstallTestBase extends KernelTestBase { ...@@ -33,7 +33,7 @@ abstract class NodeorderInstallTestBase extends KernelTestBase {
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
protected function setUp() { protected function setUp(): void {
parent::setUp(); parent::setUp();
$this->moduleInstaller = $this->container->get('module_installer'); $this->moduleInstaller = $this->container->get('module_installer');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment