mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:20:43 +00:00
test(gateway): avoid post-close auth rotation rpc
This commit is contained in:
@@ -86,9 +86,6 @@ describe("gateway shared token session rotation", () => {
|
||||
});
|
||||
expect(setRes.ok).toBe(true);
|
||||
|
||||
await expect(rpcReq(ws, "config.get", {})).rejects.toThrow(
|
||||
"closed 4001: gateway auth changed",
|
||||
);
|
||||
await expect(closed).resolves.toMatchObject({
|
||||
code: 4001,
|
||||
reason: "gateway auth changed",
|
||||
|
||||
Reference in New Issue
Block a user