Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html_old/12park_old.de/core/modules/simpletest/src/Tests/

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_old/12park_old.de/core/modules/simpletest/src/Tests/SimpleTestInstallBatchTest.php

<?php

namespace Drupal\simpletest\Tests;

use Drupal\entity_test\Entity\EntityTest;
use Drupal\simpletest\WebTestBase;

/**
 * Tests batch operations during tests execution.
 *
 * This demonstrates that a batch will be successfully executed during module
 * installation when running tests.
 *
 * @group simpletest
 * @group WebTestBase
 * @group FunctionalTestSetupTrait
 *
 * @see \Drupal\FunctionalTests\Core\Test\ModuleInstallBatchTest
 */
class SimpleTestInstallBatchTest extends WebTestBase {

  /**
   * Modules to enable.
   *
   * @var array
   */
  public static $modules = ['test_batch_test', 'entity_test'];

  /**
   * Tests loading entities created in a batch in test_batch_test_install().
   */
  public function testLoadingEntitiesCreatedInBatch() {
    $entity1 = EntityTest::load(1);
    $this->assertNotNull($entity1, 'Successfully loaded entity 1.');
    $entity2 = EntityTest::load(2);
    $this->assertNotNull($entity2, 'Successfully loaded entity 2.');
  }

}

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