Commit 4c6e6d2b authored by Project Update Bot's avatar Project Update Bot Committed by Adrian Bateman
Browse files

Issue #3299329 by Project Update Bot, Aamir M: Automated Drupal 10 compatibility fixes

parent edc8fa48
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -18,14 +18,14 @@ class TokenCustomConfigSchemaTest extends KernelTestBase {
  /**
   * {@inheritdoc}
   */
  public static $modules = [
  protected static $modules = [
    'token_custom',
  ];

  /**
   * {@inheritdoc}
   */
  protected function setUp() {
  protected function setUp(): void {
    parent::setUp();

    $this->typedConfig = \Drupal::service('config.typed');
@@ -46,7 +46,7 @@ class TokenCustomConfigSchemaTest extends KernelTestBase {
    ]);
    $token_custom_type->save();
    $config = $this->config("token_custom.type.$id");
    $this->assertEqual($config->get('machineName'), $id);
    $this->assertEquals($config->get('machineName'), $id);
    $this->assertConfigSchema($this->typedConfig, $config->getName(), $config->get());
  }

+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@ name: Custom tokens
type: module
description: 'Allow users to define custom tokens to use thoughout the site'
configure: token_custom.settings
core_version_requirement: ^8.8 || ^9
core_version_requirement: ^8.8 || ^9 || ^10

dependencies:
  - drupal:filter