Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/c12park/web/modules/contrib/visitors/tests/src/Kernel/

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/c12park/web/modules/contrib/visitors/tests/src/Kernel/HookUpdate8231Test.php

<?php

declare(strict_types=1);

namespace Drupal\Tests\visitors\Kernel;

use Drupal\KernelTests\KernelTestBase;

require_once __DIR__ . '/../../../visitors.install';

/**
 * Tests the hook_update_8231() function.
 *
 * @group visitors
 */
class HookUpdate8231Test extends KernelTestBase {

  /**
   * {@inheritdoc}
   */
  protected static $modules = [
    'visitors',
    'user',
  ];

  /**
   * Tests the hook_update_8231() function.
   */
  public function testHookUpdate8231(): void {

    // Set something in the render cache to confirm it's cleared.
    \Drupal::cache('render')->set('test_key', 'test_value');
    $this->assertNotFalse(\Drupal::cache('render')->get('test_key'));

    visitors_update_8231();

    // Check that the render cache has been flushed.
    $this->assertFalse(\Drupal::cache('render')->get('test_key'));
  }

}

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