Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vjik committed Sep 23, 2024
1 parent e138b9f commit d6accea
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/Db/Command/CommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@

namespace Yiisoft\Db\Tests\Db\Command;

use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\Attributes\DataProviderExternal;
use Yiisoft\Db\Constant\ColumnType;
use Yiisoft\Db\Constant\PseudoType;
use Yiisoft\Db\Exception\NotSupportedException;
use Yiisoft\Db\Schema\Builder\ColumnInterface;
use Yiisoft\Db\Tests\AbstractCommandTest;
use Yiisoft\Db\Tests\Provider\CommandProvider;
use Yiisoft\Db\Tests\Support\Assert;
use Yiisoft\Db\Tests\Support\DbHelper;
use Yiisoft\Db\Tests\Support\TestTrait;
Expand Down Expand Up @@ -460,7 +461,7 @@ public function testDropView(): void
);
}

#[DataProvider('\Yiisoft\Db\Tests\Provider\CommandProvider::dropTable')]
#[DataProviderExternal(CommandProvider::class, 'dropTable')]
public function testDropTable(string $expected, ?bool $ifExists, ?bool $cascade): void
{
$db = $this->getConnection();
Expand Down

0 comments on commit d6accea

Please sign in to comment.