zalo: update pairing-store read assertion to scoped params object
This commit is contained in:
parent
6b7d3fb011
commit
f39882d57e
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user