Page MenuHomePhabricator

[Services-test/identity] Refactor create_device
ClosedPublic

Authored by jon on Jul 10 2023, 6:28 AM.
Tags
None
Referenced Files
F5878331: D8463.diff
Thu, Apr 17, 1:30 AM
Unknown Object (File)
Tue, Mar 25, 5:06 AM
Unknown Object (File)
Mar 16 2025, 11:14 PM
Unknown Object (File)
Mar 4 2025, 8:35 PM
Unknown Object (File)
Mar 4 2025, 8:35 PM
Unknown Object (File)
Mar 4 2025, 8:35 PM
Unknown Object (File)
Mar 4 2025, 8:35 PM
Unknown Object (File)
Mar 4 2025, 8:34 PM
Subscribers

Details

Summary

This function is useful for a lot of scenarios,
make into it's own function, to allow for it to be used
in many locations

In support for testing RefreshUserPreKey:

https://linear.app/comm/issue/ENG-3942

Depends on D8434

Test Plan

Start docker, localstack, run terraform

cd services/commtest
cargo test --test identity_access_tokens_tests

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jul 11 2023, 10:22 AM
services/commtest/src/identity/device.rs
96–103 ↗(On Diff #28550)

kind of annoying that phabricator is showing this as a copy + delete, instead of a partial add.