Skip to content

Commit 8a171dd

Browse files
authored
Correct typo in test (#296)
1 parent 04a6a66 commit 8a171dd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/ColumnSchemaTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
use Yiisoft\Db\Query\Query;
1515
use Yiisoft\Db\Schema\SchemaInterface;
1616

17+
use function str_repeat;
18+
1719
/**
1820
* @group mysql
1921
*
@@ -92,7 +94,7 @@ public function testPhpTypeCast(): void
9294

9395
$intColPhpType = $tableSchema->getColumn('int_col')?->phpTypecast($query['int_col']);
9496
$charColPhpType = $tableSchema->getColumn('char_col')?->phpTypecast($query['char_col']);
95-
$charCol3PhpType = $tableSchema->getColumn('char_col')?->phpTypecast($query['char_col3']);
97+
$charCol3PhpType = $tableSchema->getColumn('char_col3')?->phpTypecast($query['char_col3']);
9698
$floatColPhpType = $tableSchema->getColumn('float_col')?->phpTypecast($query['float_col']);
9799
$blobColPhpType = $tableSchema->getColumn('blob_col')?->phpTypecast($query['blob_col']);
98100
$timePhpType = $tableSchema->getColumn('time')?->phpTypecast($query['time']);

0 commit comments

Comments
 (0)