Skip to content

Commit 01ba88f

Browse files
committed
fix(e2e): keep delete fixture target-compatible
1 parent 661fedf commit 01ba88f

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

‎scripts/e2e/lib/fixtures/workspace.mjs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ function writeAgentsDeleteConfig() {
3131
writeJson(path.join(stateDir, "openclaw.json"), {
3232
agents: {
3333
ownership: "explicit",
34-
defaults: { heartbeat: { agentId: "main" } },
3534
entries: {
3635
main: { workspace: sharedWorkspace },
3736
ops: { workspace: sharedWorkspace },

‎test/scripts/fixtures-workspace.test.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,13 @@ function runOpenWebUiWorkspace(workspaceDir: string) {
4242
}
4343

4444
describe("workspace fixture assertions", () => {
45-
it("writes explicit owners for the shared-workspace agents", () => {
45+
it("writes only the shared-workspace ownership inputs needed by the delete smoke", () => {
4646
const root = tempDirs.make("openclaw-fixture-workspace-");
4747
const { result, stateDir, workspace } = runAgentsDeleteConfig(root);
4848

4949
expect(result.status).toBe(0);
5050
expect(JSON.parse(readFileSync(path.join(stateDir, "openclaw.json"), "utf8")).agents).toEqual({
5151
ownership: "explicit",
52-
defaults: { heartbeat: { agentId: "main" } },
5352
entries: { main: { workspace }, ops: { workspace } },
5453
});
5554
});

0 commit comments

Comments
 (0)