From 2d218853a5d198fa8521dadbb4c6ea9be19e191c Mon Sep 17 00:00:00 2001 From: DevOps Date: Sat, 20 Jun 2026 20:25:42 +0200 Subject: [PATCH] Fix activity repository test double --- backend-tests/OperationsSnapshotTests.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend-tests/OperationsSnapshotTests.cs b/backend-tests/OperationsSnapshotTests.cs index f78982f..1be6ade 100644 --- a/backend-tests/OperationsSnapshotTests.cs +++ b/backend-tests/OperationsSnapshotTests.cs @@ -109,6 +109,9 @@ internal sealed class GuardedActivityRepository(RepositoryConcurrencyGuard guard new() { Id = 1, Type = "agent", Message = "recent activity", CreatedAt = DateTimeOffset.UtcNow } }, ct); + public Task> GetRecentForTasksAsync(IEnumerable taskIds, CancellationToken ct = default) + => guard.RunAsync(new List(), ct); + public Task<(List Items, int TotalCount)> GetPagedAsync(string? type, string? sort, int page, int pageSize, CancellationToken ct = default) => throw new NotSupportedException();