fix: use execcontext in db

This commit is contained in:
2026-06-11 14:49:57 +02:00
parent 6ba387bb6a
commit acabd50970
3 changed files with 5 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ func TestGetUserWatchlistAnimeIDsFiltersRequestedIDs(t *testing.T) {
}
defer func() { _ = sqlDB.Close() }()
_, err = sqlDB.Exec(`
_, err = sqlDB.ExecContext(context.Background(), `
CREATE TABLE watch_list_entry (
id TEXT PRIMARY KEY,
user_id TEXT NOT NULL,