mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-02 07:26:53 +00:00
Add uak as a top level attribute
This commit is contained in:
1 parent
8b4355b21d
commit
faa6ae284a
2 files changed
+39
-14
No files matched your search
@@ -917,6 +917,9 @@ class AccountsTest {
|
||||
assertThat(AttributeValues.getBool(get.item(), Accounts.ATTR_CANONICALLY_DISCOVERABLE,
|
||||
!canonicallyDiscoverable)).isEqualTo(canonicallyDiscoverable);
|
||||
|
||||
assertThat(AttributeValues.getByteArray(get.item(), Accounts.ATTR_UAK, null))
|
||||
.isEqualTo(expecting.getUnidentifiedAccessKey().orElse(null));
|
||||
|
||||
Account result = accounts.fromItem(get.item());
|
||||
verifyStoredState(number, uuid, pni, result, expecting);
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user