ConnectionUnitTest.php

Same filename in this branch
  1. 11.x core/modules/mysql/tests/src/Kernel/mysql/ConnectionUnitTest.php
  2. 11.x core/modules/pgsql/tests/src/Kernel/pgsql/ConnectionUnitTest.php
Same filename and directory in other branches
  1. 9 core/modules/mysql/tests/src/Kernel/mysql/ConnectionUnitTest.php
  2. 9 core/modules/pgsql/tests/src/Kernel/pgsql/ConnectionUnitTest.php
  3. 8.9.x core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php
  4. 10 core/modules/mysql/tests/src/Kernel/mysql/ConnectionUnitTest.php
  5. 10 core/modules/pgsql/tests/src/Kernel/pgsql/ConnectionUnitTest.php

Namespace

Drupal\Tests\mysqli\Kernel\mysqli

File

core/modules/mysqli/tests/src/Kernel/mysqli/ConnectionUnitTest.php

View source
<?php

declare (strict_types=1);
namespace Drupal\Tests\mysqli\Kernel\mysqli;

use Drupal\Tests\mysql\Kernel\mysql\ConnectionUnitTest as BaseMySqlTest;
use PHPUnit\Framework\Attributes\Group;

/**
 * MySQL-specific connection unit tests.
 */
class ConnectionUnitTest extends BaseMySqlTest {
  
  /**
   * Tests pdo options override.
   */
  public function testConnectionOpen() : void {
    $this->markTestSkipped('mysqli is not a pdo driver.');
  }

}

Classes

Title Deprecated Summary
ConnectionUnitTest MySQL-specific connection unit tests.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.