From 8a538496132a947507b52a0649dfacec068382fc Mon Sep 17 00:00:00 2001 From: Alexis Viscogliosi Date: Fri, 29 Nov 2024 19:52:02 +0100 Subject: [PATCH] fix: tests --- pkg/schema/pg/postgres_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/schema/pg/postgres_test.go b/pkg/schema/pg/postgres_test.go index 7856be1..003b25d 100644 --- a/pkg/schema/pg/postgres_test.go +++ b/pkg/schema/pg/postgres_test.go @@ -95,7 +95,7 @@ func initSchema(t *testing.T, name string, number ...int32) (*sql.DB, dblog.Data _, err = conn.ExecContext(context.Background(), fmt.Sprintf("CREATE SCHEMA %s", schemaName)) require.NoError(t, err) - mig := schema.NewMigrator(context.Background(), conn, NewPostgres, &amigoconfig.Config{}) + mig := schema.NewMigrator(context.Background(), conn, NewPostgres, amigoconfig.NewConfig()) return conn, recorder, mig, schemaName }