Tests: align fixtures with current gateway and model types

This commit is contained in:
Gustavo Madeira Santana 2026-03-19 00:22:53 -04:00
parent 83d284610c
commit afa95fade0
No known key found for this signature in database
3 changed files with 6 additions and 6 deletions

View File

@ -167,7 +167,7 @@ describe("session.message websocket events", () => {
}
).message?.__openclaw,
).toMatchObject({
id: appended.messageId,
id: appended.ok ? appended.messageId : undefined,
seq: 1,
});
} finally {

View File

@ -319,7 +319,7 @@ describe("session history HTTP endpoints", () => {
}
).message?.__openclaw,
).toMatchObject({
id: appended.messageId,
id: appended.ok ? appended.messageId : undefined,
seq: 2,
});

View File

@ -57,7 +57,7 @@ function createHost() {
token: "",
sessionKey: "main",
lastActiveSessionKey: "main",
theme: "system",
theme: "claw",
themeMode: "system",
chatFocusMode: false,
chatShowThinking: true,
@ -84,12 +84,12 @@ function createHost() {
agentsLoading: false,
agentsList: null,
agentsError: null,
toolsCatalogLoading: false,
toolsCatalogError: null,
toolsCatalogResult: null,
healthLoading: false,
healthResult: null,
healthError: null,
toolsCatalogLoading: false,
toolsCatalogError: null,
toolsCatalogResult: null,
debugHealth: null,
assistantName: "OpenClaw",
assistantAvatar: null,