Skip to content

Commit

Permalink
Review: Fix data set comments
Browse files Browse the repository at this point in the history
  • Loading branch information
BillCarsonFr committed Jul 17, 2024
1 parent 57fffb9 commit c57e5bf
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions testing/matrix-sdk-test/src/test_json/keys_query_sets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,8 @@ impl IdentityChangeDataSet {
})
}
/// A key query with a new identity (Ib) and a new device `ATWKQFSFRN`.
/// `ATWKQFSFRN` is signed with the new identity but
/// `ATWKQFSFRN` is signed with the new identity but `GYKSNAWLVK` is still
/// signed by the old identity (Ia).
pub fn key_query_with_identity_b() -> KeyQueryResponse {
let data = response_from_file(&json!({
"device_keys": {
Expand All @@ -633,8 +634,8 @@ impl IdentityChangeDataSet {
.expect("Can't parse the `/keys/upload` response")
}

/// A key query with a new identity (Ib) and a new device `ATWKQFSFRN`.
/// `ATWKQFSFRN` is signed with the new identity but
/// A key query with no identity and a new device `OPABMDDXGX` (not
/// cross-signed).
pub fn key_query_with_identity_no_identity() -> KeyQueryResponse {
let data = response_from_file(&json!({
"device_keys": {
Expand All @@ -657,9 +658,6 @@ impl IdentityChangeDataSet {
}
},
"user_id": "@bob:localhost",
"unsigned": {
"device_display_name": "develop.element.io: Chrome on macOS"
}
}
}
},
Expand Down

0 comments on commit c57e5bf

Please sign in to comment.