Skip to content

Commit 5cebdcd

Browse files
Tigrovvjik
andauthored
Allow scalar values for Query::select() (#340)
* Update tests according main PR * Add type string to test * Apply Rector changes (CI) * Revert "Apply Rector changes (CI)" This reverts commit 230d3fd. * Disable Rector for tests --------- Co-authored-by: Tigrov <Tigrov@users.noreply.github.com> Co-authored-by: Sergei Predvoditelev <sergei@predvoditelev.ru>
1 parent fc7567b commit 5cebdcd

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tests/QueryBuilderTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -675,4 +675,10 @@ public function testUpsertExecute(
675675
): void {
676676
parent::testUpsertExecute($table, $insertColumns, $updateColumns);
677677
}
678+
679+
/** @dataProvider \Yiisoft\Db\Pgsql\Tests\Provider\QueryBuilderProvider::selectScalar */
680+
public function testSelectScalar(array|bool|float|int|string $columns, string $expected): void
681+
{
682+
parent::testSelectScalar($columns, $expected);
683+
}
678684
}

0 commit comments

Comments
 (0)