Skip to content

Commit

Permalink
Fixed broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
norberttech committed Feb 21, 2025
1 parent 598e8ac commit 75d078b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Flow\ETL\Adapter\Doctrine\Tests\Integration;

use function Flow\ETL\Adapter\Doctrine\{to_dbal_table_insert, to_dbal_table_update};
use function Flow\ETL\Adapter\Doctrine\{postgresql_update_options, to_dbal_table_insert, to_dbal_table_update};
use function Flow\ETL\DSL\data_frame;
use function Flow\ETL\DSL\{from_array, ref};
use Doctrine\DBAL\Schema\{Column, Table};
Expand Down Expand Up @@ -365,7 +365,7 @@ public function test_update_multiple_rows_at_once() : void
->setPrimaryKey(['id']));

$insertLoader = to_dbal_table_insert($this->connectionParams(), $table);
$updateLoader = to_dbal_table_update($this->connectionParams(), $table, ['primary_key_columns' => ['id'], ['update_columns' => ['name']]]);
$updateLoader = to_dbal_table_update($this->connectionParams(), $table, postgresql_update_options(primary_key_columns: ['id'], update_columns: ['name']));

(data_frame())->extract(
from_array([
Expand Down
6 changes: 1 addition & 5 deletions web/landing/resources/dsl.json

Large diffs are not rendered by default.

0 comments on commit 75d078b

Please sign in to comment.