Skip to content

Commit d2b9673

Browse files
authored
Adapt test for changes in db (#392)
1 parent bc4694d commit d2b9673

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/QueryBuilderTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use Yiisoft\Db\Constant\DataType;
1010
use Yiisoft\Db\Exception\NotSupportedException;
1111
use Yiisoft\Db\Expression\Value\ArrayExpression;
12-
use Yiisoft\Db\Expression\Statement\CaseExpression;
12+
use Yiisoft\Db\Expression\Statement\CaseX;
1313
use Yiisoft\Db\Expression\Expression;
1414
use Yiisoft\Db\Expression\ExpressionInterface;
1515
use Yiisoft\Db\Expression\Function\ArrayMerge;
@@ -713,14 +713,14 @@ public function testPrepareValue(string $expected, mixed $value): void
713713
parent::testPrepareValue($expected, $value);
714714
}
715715

716-
#[DataProviderExternal(QueryBuilderProvider::class, 'caseExpressionBuilder')]
717-
public function testCaseExpressionBuilder(
718-
CaseExpression $case,
716+
#[DataProviderExternal(QueryBuilderProvider::class, 'caseXBuilder')]
717+
public function testCaseXBuilder(
718+
CaseX $case,
719719
string $expectedSql,
720720
array $expectedParams,
721721
string|int $expectedResult,
722722
): void {
723-
parent::testCaseExpressionBuilder($case, $expectedSql, $expectedParams, $expectedResult);
723+
parent::testCaseXBuilder($case, $expectedSql, $expectedParams, $expectedResult);
724724
}
725725

726726
#[DataProviderExternal(QueryBuilderProvider::class, 'lengthBuilder')]

0 commit comments

Comments
 (0)