Page MenuHomePhabricator

[Services-test/identity] Refactor create_device
ClosedPublic

Authored by jon on Jul 10 2023, 6:28 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 4, 11:14 PM
Unknown Object (File)
Sat, May 4, 11:14 PM
Unknown Object (File)
Sat, May 4, 11:14 PM
Unknown Object (File)
Sat, May 4, 11:13 PM
Unknown Object (File)
Sat, May 4, 11:10 PM
Unknown Object (File)
Sat, May 4, 10:39 PM
Unknown Object (File)
Tue, Apr 16, 3:23 AM
Unknown Object (File)
Tue, Apr 16, 3:20 AM
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.