Skip to content

Commit

Permalink
Merge 9e1a8a5 into 3bf7df5
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov committed Apr 6, 2024
2 parents 3bf7df5 + 9e1a8a5 commit 705a5c7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@

$rectorConfig->paths([
__DIR__ . '/src',
__DIR__ . '/tests',
/**
* Disabled ./tests directory due to different branches with main package when testing
*/
// __DIR__ . '/tests',
]);

// register a single rule
Expand Down
6 changes: 6 additions & 0 deletions tests/QueryBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -769,4 +769,10 @@ public function testJsonColumn()
$qb->insert('json_table', ['json_col' => new JsonExpression(['a' => 1, 'b' => 2])]),
);
}

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

0 comments on commit 705a5c7

Please sign in to comment.