From 741c748135a912551f09df9f84353861e432075a Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Sun, 22 Nov 2026 19:11:08 -0500 Subject: [PATCH] test(api): quarantine tests no longer clear the requests table dbtest.ResetDB clears it, and the table is on its way out. Co-Authored-By: Claude Opus 5.5 --- internal/api/admin_quarantine_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/internal/api/admin_quarantine_test.go b/internal/api/admin_quarantine_test.go index e412adfd..546ed928 100644 --- a/internal/api/admin_quarantine_test.go +++ b/internal/api/admin_quarantine_test.go @@ -96,7 +96,6 @@ func seedTrackOnDisk(t *testing.T, h *handlers, unique string) (dbq.Track, strin func TestListAdminQuarantine_AggregatedShape(t *testing.T) { h, pool := testHandlers(t) truncateLibrary(t, pool) - resetRequests(t, h) alice := seedUser(t, pool, "alice", "pw", false) bob := seedUser(t, pool, "bob", "pw", false) @@ -136,7 +135,6 @@ func TestListAdminQuarantine_AggregatedShape(t *testing.T) { func TestResolveQuarantine_HappyPath(t *testing.T) { h, pool := testHandlers(t) truncateLibrary(t, pool) - resetRequests(t, h) alice := seedUser(t, pool, "alice", "pw", false) bob := seedUser(t, pool, "bob", "pw", false) @@ -180,7 +178,6 @@ func TestResolveQuarantine_HappyPath(t *testing.T) { func TestDeleteQuarantineFile_HappyPath(t *testing.T) { h, pool := testHandlers(t) truncateLibrary(t, pool) - resetRequests(t, h) alice := seedUser(t, pool, "alice", "pw", false) admin := seedUser(t, pool, "admin", "pw", true) @@ -215,7 +212,6 @@ func TestDeleteQuarantineFile_HappyPath(t *testing.T) { func TestQuarantineAdminEndpointsRequire403ForNonAdmin(t *testing.T) { h, pool := testHandlers(t) truncateLibrary(t, pool) - resetRequests(t, h) nonAdmin := seedUser(t, pool, "regular", "pw", false) fakeID := "00000000-0000-0000-0000-000000000001"