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
F3240238: D5184.diff
Wed, Nov 13, 12:13 PM
Unknown Object (File)
Sat, Oct 26, 2:46 AM
Unknown Object (File)
Wed, Oct 16, 6:19 PM
Unknown Object (File)
Wed, Oct 16, 12:33 PM
Unknown Object (File)
Oct 8 2024, 8:21 AM
Unknown Object (File)
Oct 8 2024, 8:21 AM
Unknown Object (File)
Oct 8 2024, 8:21 AM
Unknown Object (File)
Oct 8 2024, 8:21 AM

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
Branch
add-test-for-update-device-token
Lint
No Lint Coverage
Unit
No Test Coverage

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.