Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Commit

Permalink
test: Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
erezrokah committed Jun 14, 2024
1 parent f0a808a commit 30664e7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion client/testing.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,13 @@ func TestHelper(t *testing.T, table *schema.Table, ts *httptest.Server) {
}

// We need to remove additional_properties column from the table as faker cannot generate data with interface{} type
transformers.Apply(tables, func(table *schema.Table) error {
err = transformers.Apply(tables, func(table *schema.Table) error {
table.Columns = remove(table.Columns, "additional_properties")
return nil
})
if err != nil {
t.Fatal(err)
}

messages, err := sched.SyncAll(context.Background(), c, tables)
if err != nil {
Expand Down

0 comments on commit 30664e7

Please sign in to comment.