Skip to content

Commit 45c80d0

Browse files
Tigrovvjik
andauthored
Allow scalar values for Query::select() (#259)
* Update tests according main PR * Fix psalm issue * Apply Rector changes (CI) * Revert "Apply Rector changes (CI)" This reverts commit 0848775. * Disable Rector for tests * Add type string to test --------- Co-authored-by: Tigrov <[email protected]> Co-authored-by: Sergei Predvoditelev <[email protected]>
1 parent a8fb606 commit 45c80d0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: tests/QueryBuilderTest.php

+6
Original file line numberDiff line numberDiff line change
@@ -664,4 +664,10 @@ public function testDefaultValues(): void
664664
$queryBuilder->insert('negative_default_values', []),
665665
);
666666
}
667+
668+
/** @dataProvider \Yiisoft\Db\Oracle\Tests\Provider\QueryBuilderProvider::selectScalar */
669+
public function testSelectScalar(array|bool|float|int|string $columns, string $expected): void
670+
{
671+
parent::testSelectScalar($columns, $expected);
672+
}
667673
}

0 commit comments

Comments
 (0)