Skip to content

Commit 61385b5

Browse files
committed
fix(linux): pass the table and generated columns to the array export test
1 parent af74c6c commit 61385b5

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

  • linux/crates/drivers/postgres/tests/integration

‎linux/crates/drivers/postgres/tests/integration/decode.rs‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,13 @@ async fn an_exported_array_inserts_back_as_it_was() {
176176
.await
177177
.expect("the read");
178178

179-
let insert =
180-
tablepro_core::export::render_sql_insert(connection.dialect().as_ref(), "copied", &read.columns, &read.rows);
179+
let insert = tablepro_core::export::render_sql_insert(
180+
connection.dialect().as_ref(),
181+
&tablepro_core::TableRef::unqualified("copied"),
182+
&read.columns,
183+
&[],
184+
&read.rows,
185+
);
181186
crate::support::apply(
182187
connection.as_ref(),
183188
tablepro_core::WriteKind::RowChanges,

0 commit comments

Comments
 (0)