Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/dataninja.cn/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/html/dataninja.cn/core/modules/views/tests/src/Functional/Update/BulkFormUpdateTest.php

<?php

namespace Drupal\Tests\views\Functional\Update;

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

/**
 * Tests Views image style dependencies update.
 *
 * @group views
 * @group legacy
 */
class BulkFormUpdateTest extends UpdatePathTestBase {

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

  /**
   * Tests the updating of dependencies for Views using the bulk_form plugin.
   */
  public function testBulkFormDependencies() {
    $module_dependencies = View::load('legacy_bulk_form')->getDependencies()['module'];

    $this->assertTrue(in_array('system', $module_dependencies));

    $this->runUpdates();

    $module_dependencies = View::load('legacy_bulk_form')->getDependencies()['module'];

    $this->assertFalse(in_array('system', $module_dependencies));
  }

}

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