Add quota receipt aggregation and approved standup advisories

This commit is contained in:
kami
2026-07-26 20:39:21 +04:00
parent 3dfe97f4fd
commit 3e143cb703
5 changed files with 141 additions and 13 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ func TestEndToEndIngestRouteLeaseRotateAndComplete(t *testing.T) {
if err != nil {
t.Fatal(err)
}
if err := s.Append(domain.Event{ID: domain.NewID(), Type: "TaskCompleted", TaskID: task.ID, Version: 5, Payload: mustJSON(map[string]string{"report_ref": ref})}); err != nil {
if err := s.Append(domain.Event{ID: domain.NewID(), Type: "TaskCompleted", TaskID: task.ID, Version: got.Version + 1, Payload: mustJSON(map[string]string{"report_ref": ref})}); err != nil {
t.Fatal(err)
}
got, _ = s.Task(task.ID)