diff --git a/api/core/administrator/init_test.go b/api/core/administrator/init_test.go index 9f656b1..1814fdc 100644 --- a/api/core/administrator/init_test.go +++ b/api/core/administrator/init_test.go @@ -113,7 +113,7 @@ func Flush() error { } defer conn.Release() - _, err = conn.Exec(context.Background(), "TRUNCATE TABLE administrators;") + _, err = conn.Exec(context.Background(), "TRUNCATE TABLE administrators") if err != nil { return err } diff --git a/api/core/joke/init_test.go b/api/core/joke/init_test.go index fbcfd64..edf24c0 100644 --- a/api/core/joke/init_test.go +++ b/api/core/joke/init_test.go @@ -165,15 +165,15 @@ func Flush() error { } defer conn.Release() - _, err = conn.Exec(context.Background(), "TRUNCATE TABLE submission;") + _, err = conn.Exec(context.Background(), "TRUNCATE TABLE submission") if err != nil { return err } - _, err = conn.Exec(context.Background(), "TRUNCATE TABLE jokesbapak2;") + _, err = conn.Exec(context.Background(), "TRUNCATE TABLE jokesbapak2") if err != nil { return err } - _, err = conn.Exec(context.Background(), "TRUNCATE TABLE administrators;") + _, err = conn.Exec(context.Background(), "TRUNCATE TABLE administrators") if err != nil { return err }