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)
Mon, Dec 16, 10:27 AM
Unknown Object (File)
Mon, Dec 16, 10:27 AM
Unknown Object (File)
Mon, Dec 16, 10:26 AM
Unknown Object (File)
Mon, Dec 16, 10:26 AM
Unknown Object (File)
Sat, Dec 14, 9:01 PM
Unknown Object (File)
Nov 14 2024, 9:09 PM
Unknown Object (File)
Nov 9 2024, 10:04 AM
Unknown Object (File)
Oct 27 2024, 1:54 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
No Lint Coverage
Unit
No Test Coverage

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

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