Skip to content

Commit

Permalink
Allow scalar values for Query::select() (#259)
Browse files Browse the repository at this point in the history
* 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 <Tigrov@users.noreply.github.com>
Co-authored-by: Sergei Predvoditelev <sergei@predvoditelev.ru>
  • Loading branch information
3 people committed Apr 13, 2024
1 parent a8fb606 commit 45c80d0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/QueryBuilderTest.php
Expand Up @@ -664,4 +664,10 @@ public function testDefaultValues(): void
$queryBuilder->insert('negative_default_values', []),
);
}

/** @dataProvider \Yiisoft\Db\Oracle\Tests\Provider\QueryBuilderProvider::selectScalar */
public function testSelectScalar(array|bool|float|int|string $columns, string $expected): void
{
parent::testSelectScalar($columns, $expected);
}
}

0 comments on commit 45c80d0

Please sign in to comment.