HomePhabricator
Diffusion Comm 6bc92df75a40

[services] Tunnelbroker - Add test for putMessageItemsByBatch function

Description

[services] Tunnelbroker - Add test for putMessageItemsByBatch function

Summary:
This is a test for putMessageItemsByBatch function introduced in D4378.
In this test, we are creating a messages batch of 29 items and putting them into the database by the putMessageItemsByBatch function. We are expecting the
size of the found items would be the same as an item's batch size.

Linear task: ENG-1301

Test Plan: Run yarn test-tunnelbroker-service-dev-mode

Reviewers: karol, tomek

Reviewed By: tomek

Subscribers: ashoat, tomek, adrian, atul, karol, abosh

Differential Revision: https://phab.comm.dev/D4377

Details

Provenance
maxAuthored on Jun 28 2022, 6:39 AM
Reviewer
tomek
Differential Revision
D4377: [services] Tunnelbroker - Add test for putMessageItemsByBatch function
Parents
rCOMMc59966a9510f: [services] use username and public key from registration request
Branches
Unknown
Tags
Unknown