Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html1/web/core/modules/views/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/html1/web/core/modules/views/tests/src/Functional/Update/PlaceholderTextUpdateTest.php

<?php

namespace Drupal\Tests\views\Functional\Update;

use Drupal\FunctionalTests\Update\UpdatePathTestBase;
use Drupal\views\Entity\View;

/**
 * Tests the upgrade path for placeholder text.
 *
 * @see views_post_update_filter_placeholder_text()
 *
 * @group Update
 * @group legacy
 */
class PlaceholderTextUpdateTest extends UpdatePathTestBase {

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

  /**
   * Tests that boolean filter values are updated properly.
   */
  public function testViewsPostUpdatePlaceholderText() {
    $this->runUpdates();

    // Load and initialize our test view.
    $view = View::load('placeholder_text_test');
    $data = $view->toArray();
    // Check that new settings exist.
    $this->assertArrayHasKey('placeholder', $data['display']['default']['display_options']['filters']['title']['expose']);
    $this->assertArrayHasKey('placeholder', $data['display']['default']['display_options']['filters']['created']['expose']);
    $this->assertArrayHasKey('min_placeholder', $data['display']['default']['display_options']['filters']['created']['expose']);
    $this->assertArrayHasKey('max_placeholder', $data['display']['default']['display_options']['filters']['created']['expose']);
  }

}

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