mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 09:02:45 +00:00
zalo: update pairing-store read assertion to scoped params object
This commit is contained in:
committed by
Peter Steinberger
parent
6b7d3fb011
commit
f39882d57e
@@ -336,7 +336,12 @@ describe("handleZaloWebhookRequest", () => {
|
|||||||
unregister();
|
unregister();
|
||||||
}
|
}
|
||||||
|
|
||||||
expect(readAllowFromStore).toHaveBeenCalledWith("zalo", undefined, "work");
|
expect(readAllowFromStore).toHaveBeenCalledWith(
|
||||||
|
expect.objectContaining({
|
||||||
|
channel: "zalo",
|
||||||
|
accountId: "work",
|
||||||
|
}),
|
||||||
|
);
|
||||||
expect(upsertPairingRequest).toHaveBeenCalledWith(
|
expect(upsertPairingRequest).toHaveBeenCalledWith(
|
||||||
expect.objectContaining({
|
expect.objectContaining({
|
||||||
channel: "zalo",
|
channel: "zalo",
|
||||||
|
|||||||
Reference in New Issue
Block a user