|
5 | 5 | namespace Yiisoft\Db\Oracle\Tests;
|
6 | 6 |
|
7 | 7 | use PDO;
|
| 8 | +use PHPUnit\Framework\Attributes\DataProviderExternal; |
8 | 9 | use Yiisoft\Db\Command\Param;
|
9 | 10 | use Yiisoft\Db\Expression\Expression;
|
10 | 11 | use Yiisoft\Db\Oracle\Column\BinaryColumn;
|
11 | 12 | use Yiisoft\Db\Oracle\Column\JsonColumn;
|
| 13 | +use Yiisoft\Db\Oracle\Tests\Provider\ColumnProvider; |
12 | 14 | use Yiisoft\Db\Oracle\Tests\Support\TestTrait;
|
13 | 15 | use Yiisoft\Db\Query\Query;
|
14 | 16 | use Yiisoft\Db\Schema\Column\ColumnInterface;
|
@@ -106,12 +108,18 @@ public function testPredefinedType(string $className, string $type, string $phpT
|
106 | 108 | parent::testPredefinedType($className, $type, $phpType);
|
107 | 109 | }
|
108 | 110 |
|
109 |
| - /** @dataProvider \Yiisoft\Db\Oracle\Tests\Provider\ColumnProvider::dbTypecastColumns */ |
| 111 | + #[DataProviderExternal(ColumnProvider::class, 'dbTypecastColumns')] |
110 | 112 | public function testDbTypecastColumns(ColumnInterface $column, array $values): void
|
111 | 113 | {
|
112 | 114 | parent::testDbTypecastColumns($column, $values);
|
113 | 115 | }
|
114 | 116 |
|
| 117 | + #[DataProviderExternal(ColumnProvider::class, 'phpTypecastColumns')] |
| 118 | + public function testPhpTypecastColumns(ColumnInterface $column, array $values): void |
| 119 | + { |
| 120 | + parent::testPhpTypecastColumns($column, $values); |
| 121 | + } |
| 122 | + |
115 | 123 | public function testBinaryColumn(): void
|
116 | 124 | {
|
117 | 125 | $binaryCol = new BinaryColumn();
|
|
0 commit comments