Page MenuHomePhabricator

[services] Tunnelbroker - Add test for `updateSessionItemDeviceToken` database method
ClosedPublic

Authored by max on Sep 19 2022, 3:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 2, 3:34 PM
Unknown Object (File)
Thu, May 2, 3:34 PM
Unknown Object (File)
Thu, May 2, 3:34 PM
Unknown Object (File)
Thu, May 2, 3:32 PM
Unknown Object (File)
Thu, May 2, 3:13 PM
Unknown Object (File)
Tue, Apr 30, 5:22 PM
Unknown Object (File)
Tue, Apr 30, 5:22 PM
Unknown Object (File)
Tue, Apr 30, 5:21 PM

Details

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.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

max held this revision as a draft.
max published this revision for review.Sep 19 2022, 3:56 PM
max edited the summary of this revision. (Show Details)
max edited the test plan for this revision. (Show Details)
max added a reviewer: tomek.
This revision is now accepted and ready to land.Sep 20 2022, 7:03 AM

Merged with the recent changes.