Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/ift/web/core/modules/search/tests/src/Functional/Update/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : /var/www/html/ift/web/core/modules/search/tests/src/Functional/Update/BlockPageSettingTest.php

<?php

namespace Drupal\Tests\search\Functional\Update;

use Drupal\FunctionalTests\Update\UpdatePathTestBase;

/**
 * Tests search blocks upgrade to default page setting.
 *
 * @group Update
 * @group legacy
 */
class BlockPageSettingTest extends UpdatePathTestBase {

  /**
   * {@inheritdoc}
   */
  protected function setDatabaseDumpFiles() {
    $this->databaseDumpFiles = [
      __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz',
    ];
  }

  /**
   * Tests existing search block settings upgrade.
   *
   * @see search_post_update_block_page()
   */
  public function testUpdateActionPlugins() {
    $config = \Drupal::configFactory()->get('block.block.bartik_search');
    $this->assertArrayNotHasKey('page_id', $config->get('settings'));

    $this->runUpdates();

    $config = \Drupal::configFactory()->get('block.block.bartik_search');
    $this->assertSame('', $config->get('settings')['page_id']);
  }

}

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net