Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Oct 31, 2024
1 parent cc4d744 commit 09c2dd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
6 changes: 1 addition & 5 deletions tests/CommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,8 @@
use Yiisoft\Db\Exception\Exception;
use Yiisoft\Db\Exception\InvalidConfigException;
use Yiisoft\Db\Exception\NotSupportedException;
use Yiisoft\Db\Mysql\Connection;
use Yiisoft\Db\Mysql\Dsn;
use Yiisoft\Db\Mysql\Driver;
use Yiisoft\Db\Mysql\Tests\Support\TestTrait;
use Yiisoft\Db\Tests\Common\CommonCommandTest;
use Yiisoft\Db\Tests\Support\DbHelper;

/**
* @group mysql
Expand Down Expand Up @@ -141,6 +137,6 @@ public function testUpsert(array $firstData, array $secondData): void

public function testShowDatabases(): void
{
$this->assertSame([self::getDatabaseName()], static::getDb()->createCommand()->showDatabases());
$this->assertSame([self::getDatabaseName()], self::getDb()->createCommand()->showDatabases());
}
}
5 changes: 1 addition & 4 deletions tests/PDODriverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@

use PDO;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Mysql\Connection;
use Yiisoft\Db\Mysql\Driver;
use Yiisoft\Db\Mysql\Tests\Support\TestTrait;
use Yiisoft\Db\Tests\Support\DbHelper;

/**
* @group mysql
Expand Down Expand Up @@ -40,7 +37,7 @@ public function testConnectionCharset(): void

public function testCharsetDefault(): void
{
$db = static::getDb();
$db = self::getDb();
$db->open();
$command = $db->createCommand();

Expand Down

0 comments on commit 09c2dd7

Please sign in to comment.