fix(tests): Fix helper function variable scope

This commit is contained in:
2026-02-10 13:07:01 -05:00
parent fd4aa5cb59
commit 568e16eab4
2 changed files with 19 additions and 19 deletions
+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)