Skip to content

Commit f8f1c58

Browse files
committed
Merge remote-tracking branch 'origin/add-functions' into add-functions
2 parents 957f9b3 + 3ada594 commit f8f1c58

File tree

2 files changed

+5
-17
lines changed

2 files changed

+5
-17
lines changed

tests/Provider/QueryBuilderProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ public static function multiOperandFunctionClasses(): array
586586

587587
public static function multiOperandFunctionBuilder(): array
588588
{
589-
$data = parent::multiOperandFunctionBuilder();
589+
$data = null;
590590

591591
$stringParam = new Param('{3,4,5}', DataType::STRING);
592592

tests/QueryBuilderTest.php

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -596,30 +596,18 @@ public function testCaseExpressionBuilder(
596596
}
597597

598598
#[DataProviderExternal(QueryBuilderProvider::class, 'lengthBuilder')]
599-
public function testLengthBuilder(
600-
string|ExpressionInterface $operand,
601-
string $expectedSql,
602-
int $expectedResult,
603-
array $expectedParams = [],
604-
): void {
605-
parent::testLengthBuilder($operand, $expectedSql, $expectedResult, $expectedParams);
599+
public function testLengthBuilder(string|ExpressionInterface $operand, string $expectedSql, int $expectedResult, array $expectedParams = []): void
600+
{
606601
}
607602

608603
#[DataProviderExternal(QueryBuilderProvider::class, 'multiOperandFunctionBuilder')]
609-
public function testMultiOperandFunctionBuilder(
610-
string $class,
611-
array $operands,
612-
string $expectedSql,
613-
string|int $expectedResult,
614-
array $expectedParams = [],
615-
): void {
616-
parent::testMultiOperandFunctionBuilder($class, $operands, $expectedSql, $expectedResult, $expectedParams);
604+
public function testMultiOperandFunctionBuilder(string $class, array $operands, string $expectedSql, string|int $expectedResult, array $expectedParams = []): void
605+
{
617606
}
618607

619608
#[DataProviderExternal(QueryBuilderProvider::class, 'multiOperandFunctionClasses')]
620609
public function testMultiOperandFunctionBuilderWithoutOperands(string $class): void
621610
{
622-
parent::testMultiOperandFunctionBuilderWithoutOperands($class);
623611
}
624612

625613
#[TestWith(['int[]', '::int[]', '{10,9,7,1,5,4,2,6,3}'])]

0 commit comments

Comments
 (0)