From 30664e7e605295537179ee860f3ae61f30641953 Mon Sep 17 00:00:00 2001 From: erezrokah Date: Fri, 14 Jun 2024 15:09:21 +0100 Subject: [PATCH] test: Fix test --- client/testing.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/testing.go b/client/testing.go index 54ab405..fb19843 100644 --- a/client/testing.go +++ b/client/testing.go @@ -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 {