Another one

This commit is contained in:
phoenix
2026-01-01 14:09:20 -05:00
parent 0334c67c36
commit 161d0da377
+1 -1
View File
@@ -41,7 +41,7 @@ func GetApp() (*app.App, error) {
func ResetTestDB(t *testing.T, tableName string) {
t.Helper()
_, err := db.Pool.Exec(context.Background(), fmt.Sprintf("DELETE FROM ", tableName))
_, err := db.Pool.Exec(context.Background(), fmt.Sprintf("DELETE FROM %s", tableName))
if err != nil {
t.Fatalf("Failed to reset test database: %v", err)
}