fix(tests): Fix helper function variable scope

This commit is contained in:
john-okeefe committed 2026-02-10 13:07:01 -05:00
1 parent fd4aa5cb59
commit 568e16eab4
2 files changed
+19 -19

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ import (
func TestListAllQueueItems_Admin(t *testing.T) {
setup := setupTestServer(t)
token := loginAdminUser(t, setup.Server, db)
token := loginAdminUser(t, setup.Server, setup.DB) db)
req := httptest.NewRequest("GET", "/api/queue/items", nil)
req.Header.Set("Authorization", "Bearer "+token)