Skip to content

Commit

Permalink
Update test according to main PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov committed Feb 6, 2024
1 parent 2964f96 commit 30c310d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/CommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,10 @@ public function testUpdate(
array $columns,
array|string $conditions,
array $params,
string $expected
array $expectedValues,
int $expectedCount,
): void {
parent::testUpdate($table, $columns, $conditions, $params, $expected);
parent::testUpdate($table, $columns, $conditions, $params, $expectedValues, $expectedCount);
}

/**
Expand Down
12 changes: 12 additions & 0 deletions tests/QueryBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,18 @@ public function testSelectExists(string $sql, string $expected): void
parent::testSelectExists($sql, $expected);
}

/** @dataProvider \Yiisoft\Db\Mssql\Tests\Provider\QueryBuilderProvider::update */
public function testUpdate(
string $table,
array $columns,
array|string $condition,
array $params,
string $expectedSql,
array $expectedParams,
): void {
parent::testUpdate($table, $columns, $condition, $params, $expectedSql, $expectedParams);
}

/**
* @dataProvider \Yiisoft\Db\Mssql\Tests\Provider\QueryBuilderProvider::upsert
*
Expand Down

0 comments on commit 30c310d

Please sign in to comment.