Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/pallets_old/web/core/tests/Drupal/Tests/Core/DrupalKernel/

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/pallets_old/web/core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelLegacyTest.php

<?php

namespace Drupal\Tests\Core\DrupalKernel;

use Drupal\Core\DrupalKernel;
use Drupal\Tests\UnitTestCase;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpKernel\Event\KernelEvent;

/**
 * @coversDefaultClass \Drupal\Core\DrupalKernel
 * @group legacy
 */
class DrupalKernelLegacyTest extends UnitTestCase {

  /**
   * Tests deprecation message in overridden KernelEvent.
   *
   * @covers ::isMasterRequest
   */
  public function testKernelEventDeprecation() {
    $kernel = $this->createMock(DrupalKernel::class);
    $request = $this->createMock(Request::class);
    $event = new KernelEvent($kernel, $request, $kernel::MASTER_REQUEST);

    $this->expectDeprecation('Symfony\Component\HttpKernel\Event\KernelEvent::isMasterRequest() is deprecated, use isMainRequest()');
    $this->assertTrue($event->isMasterRequest());
  }

}

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