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)
Thu, Nov 14, 9:09 PM
Unknown Object (File)
Sat, Nov 9, 10:04 AM
Unknown Object (File)
Sun, Oct 27, 1:54 PM
Unknown Object (File)
Sep 27 2024, 5:26 PM
Unknown Object (File)
Sep 27 2024, 5:26 PM
Unknown Object (File)
Sep 27 2024, 5:26 PM
Unknown Object (File)
Sep 27 2024, 5:26 PM
Unknown Object (File)
Sep 27 2024, 5:26 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.