zalo: update pairing-store read assertion to scoped params object

This commit is contained in:
bmendonca3
2026-03-02 15:38:36 +00:00
committed by Peter Steinberger
parent 6b7d3fb011
commit f39882d57e
+6 -1
View File
@@ -336,7 +336,12 @@ describe("handleZaloWebhookRequest", () => {
unregister();
}
expect(readAllowFromStore).toHaveBeenCalledWith("zalo", undefined, "work");
expect(readAllowFromStore).toHaveBeenCalledWith(
expect.objectContaining({
channel: "zalo",
accountId: "work",
}),
);
expect(upsertPairingRequest).toHaveBeenCalledWith(
expect.objectContaining({
channel: "zalo",