HomePhabricator
Diffusion Comm 258f3e8b6a95

[services] Tunnelbroker - Add test for `updateSessionItemDeviceToken` database…

Description

[services] Tunnelbroker - Add test for updateSessionItemDeviceToken database method

Summary:
This diff introduces a test for the updateSessionItemDeviceToken method from D5179.

In this test, we will create a SessionItem entity and push it to the DynamoDB table. We are checking the default value and updating it using the updateSessionItemDeviceToken method and checks the value to become an updated one.

Related Linear task: ENG-1782

Test Plan:

  1. Successfully built.
  2. Test in D5184 is passed.

Reviewers: jon, tomek

Reviewed By: tomek

Subscribers: ashoat, tomek, atul, karol, abosh

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

Details

Provenance
maxAuthored on Sep 23 2022, 11:37 AM
Reviewer
tomek
Differential Revision
D5184: [services] Tunnelbroker - Add test for `updateSessionItemDeviceToken` database method
Parents
rCOMM713480efd67b: [CI] Add blob unit tests
Branches
Unknown
Tags
Unknown