Add user session management and auditing

This commit is contained in:
Eric Lesiuta
2026-03-20 21:26:30 -04:00
parent 455dd20365
commit 0b354c8048
25 changed files with 1299 additions and 11 deletions
+2 -2
View File
@@ -304,11 +304,11 @@ func TestAPICron(t *testing.T) {
AddTokenAuth(token)
resp := MakeRequest(t, req, http.StatusOK)
assert.Equal(t, "29", resp.Header().Get("X-Total-Count"))
assert.Equal(t, "30", resp.Header().Get("X-Total-Count"))
var crons []api.Cron
DecodeJSON(t, resp, &crons)
assert.Len(t, crons, 29)
assert.Len(t, crons, 30)
})
t.Run("Execute", func(t *testing.T) {