Issue #3260227 by mondrake: Move driver specific database Unit tests to their modules

merge-requests/2817/merge
Alex Pott 2022-10-05 11:01:50 +01:00
parent 946d271597
commit f4b955cfe0
No known key found for this signature in database
GPG Key ID: BDA67E7EE836E5CE
4 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Drupal\Tests\Core\Database\Driver\mysql; namespace Drupal\Tests\mysql\Unit;
use Drupal\mysql\Driver\Database\mysql\Connection; use Drupal\mysql\Driver\Database\mysql\Connection;
use Drupal\Tests\UnitTestCase; use Drupal\Tests\UnitTestCase;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Drupal\Tests\Core\Database\Driver\mysql\install; namespace Drupal\Tests\mysql\Unit;
use Drupal\mysql\Driver\Database\mysql\Connection; use Drupal\mysql\Driver\Database\mysql\Connection;
use Drupal\mysql\Driver\Database\mysql\Install\Tasks; use Drupal\mysql\Driver\Database\mysql\Install\Tasks;
@ -12,7 +12,7 @@ use Drupal\Tests\UnitTestCase;
* @coversDefaultClass \Drupal\mysql\Driver\Database\mysql\Install\Tasks * @coversDefaultClass \Drupal\mysql\Driver\Database\mysql\Install\Tasks
* @group Database * @group Database
*/ */
class TasksTest extends UnitTestCase { class InstallTasksTest extends UnitTestCase {
/** /**
* A connection object prophecy. * A connection object prophecy.

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Drupal\Tests\Core\Database\Driver\pgsql; namespace Drupal\Tests\pgsql\Unit;
use Drupal\pgsql\Driver\Database\pgsql\Schema; use Drupal\pgsql\Driver\Database\pgsql\Schema;
use Drupal\Tests\UnitTestCase; use Drupal\Tests\UnitTestCase;
@ -11,7 +11,7 @@ use Drupal\Tests\UnitTestCase;
* @coversDefaultClass \Drupal\pgsql\Driver\Database\pgsql\Schema * @coversDefaultClass \Drupal\pgsql\Driver\Database\pgsql\Schema
* @group Database * @group Database
*/ */
class PostgresqlSchemaTest extends UnitTestCase { class SchemaTest extends UnitTestCase {
/** /**
* The PostgreSql DB connection. * The PostgreSql DB connection.

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Drupal\Tests\Core\Database\Driver\sqlite; namespace Drupal\Tests\sqlite\Unit;
use Drupal\sqlite\Driver\Database\sqlite\Connection; use Drupal\sqlite\Driver\Database\sqlite\Connection;
use Drupal\Tests\Core\Database\Stub\StubPDO; use Drupal\Tests\Core\Database\Stub\StubPDO;