test(background-agent): align manager test fixtures with normalized field names

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
YeonGyu-Kim
2026-05-04 16:30:06 +09:00
parent 3ae9f5f104
commit 65c1b50946
3 changed files with 18 additions and 18 deletions
@@ -36,12 +36,12 @@ function createManager(): BackgroundManager {
}
function createTask(overrides: Partial<BackgroundTask> & { id: string; parentSessionId: string }): BackgroundTask {
const { id, parentSessionID, ...rest } = overrides
const { id, parentSessionId, ...rest } = overrides
return {
...rest,
id,
parentSessionID,
parentSessionId,
parentMessageId: rest.parentMessageId ?? "parent-message-id",
description: rest.description ?? id,
prompt: rest.prompt ?? `Prompt for ${id}`,