Commit 8177d754 authored by Project Update Bot's avatar Project Update Bot Committed by Andrei Mateescu
Browse files

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

parent 3712a200
Loading
Loading
Loading
Loading
+2 −2
Changes for tests/src/Functional/EntityQueueUiTest.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ class EntityQueueUiTest extends BrowserTestBase {
   *
   * @var array
   */
  public static $modules = ['entityqueue_test'];
  protected static $modules = ['entityqueue_test'];

  /**
   * A user with the 'administer entityqueue' permission.
@@ -33,7 +33,7 @@ class EntityQueueUiTest extends BrowserTestBase {
  /**
   * {@inheritdoc}
   */
  protected function setUp() {
  protected function setUp(): void {
    parent::setUp();

    $this->webUser = $this->drupalCreateUser(['administer entityqueue']);
+2 −2
Changes for tests/src/Kernel/EntityQueueCacheTagsTest.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -20,12 +20,12 @@ class EntityQueueCacheTagsTest extends KernelTestBase {
  /**
   * {@inheritdoc}
   */
  public static $modules = ['field', 'filter', 'node', 'text', 'user', 'system', 'views', 'entityqueue', 'entityqueue_test'];
  protected static $modules = ['field', 'filter', 'node', 'text', 'user', 'system', 'views', 'entityqueue', 'entityqueue_test'];

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

    $this->installSchema('node', ['node_access']);
+2 −2
Changes for tests/src/Kernel/EntityQueueCrudTest.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -17,12 +17,12 @@ class EntityQueueCrudTest extends KernelTestBase {
   *
   * @var array
   */
  public static $modules = ['entityqueue', 'system', 'user', 'node'];
  protected static $modules = ['entityqueue', 'system', 'user', 'node'];

  /**
   * {@inheritdoc}
   */
  public function setup() {
  public function setup(): void {
    parent::setUp();
    $this->installEntitySchema('entity_subqueue');
  }
+2 −2
Changes for tests/src/Kernel/EntitySubQueueAPITest.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -24,12 +24,12 @@ class EntitySubQueueAPITest extends EntityKernelTestBase {
   *
   * @var array
   */
  public static $modules = ['entityqueue'];
  protected static $modules = ['entityqueue'];

  /**
   * {@inheritdoc}
   */
  public function setup() {
  public function setup(): void {
    parent::setUp();
    $this->installEntitySchema('entity_subqueue');
  }