diff --git a/tests/CommandTest.php b/tests/CommandTest.php index 3ae5b8c0..1f311ff9 100644 --- a/tests/CommandTest.php +++ b/tests/CommandTest.php @@ -8,12 +8,8 @@ use Yiisoft\Db\Exception\Exception; use Yiisoft\Db\Exception\InvalidConfigException; use Yiisoft\Db\Exception\NotSupportedException; -use Yiisoft\Db\Pgsql\Connection; -use Yiisoft\Db\Pgsql\Dsn; -use Yiisoft\Db\Pgsql\Driver; use Yiisoft\Db\Pgsql\Tests\Support\TestTrait; use Yiisoft\Db\Tests\Common\CommonCommandTest; -use Yiisoft\Db\Tests\Support\DbHelper; use function serialize; @@ -277,6 +273,6 @@ public function testinsertWithReturningPksUuid(): void public function testShowDatabases(): void { - $this->assertSame([self::getDatabaseName()], static::getDb()->createCommand()->showDatabases()); + $this->assertSame([self::getDatabaseName()], self::getDb()->createCommand()->showDatabases()); } } diff --git a/tests/PDODriverTest.php b/tests/PDODriverTest.php index a94e5b08..8285e977 100644 --- a/tests/PDODriverTest.php +++ b/tests/PDODriverTest.php @@ -8,7 +8,6 @@ use PHPUnit\Framework\TestCase; use Yiisoft\Db\Exception\Exception; use Yiisoft\Db\Exception\InvalidConfigException; -use Yiisoft\Db\Pgsql\Driver; use Yiisoft\Db\Pgsql\Tests\Support\TestTrait; /**