Skip to content

Commit

Permalink
Improve test comments
Browse files Browse the repository at this point in the history
  • Loading branch information
karim-en committed Oct 9, 2023
1 parent 41da4c0 commit 22bd616
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bridge-token-factory/tests/token_transfer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,7 @@ async fn test_attach_full_access_key() {
// Check that the access key is added to the factory contract
assert!(keys.len() == 2 && keys.contains(&ed_pk_str.to_string()));

// Add new full access key to the bridge token contract
assert!(alice
.call(factory.id(), "attach_full_access_key_to_token")
.args_json(json!({ "public_key": ed_pk_str, "address": DAI_ADDRESS }))
Expand All @@ -740,6 +741,6 @@ async fn test_attach_full_access_key() {
.map(|info| info.public_key.to_string())
.collect();

// Check that the access key is added to the bridge contract
// Check that the access key is added to the bridge token contract
assert!(keys.len() == 1 && keys.contains(&ed_pk_str.to_string()));
}

0 comments on commit 22bd616

Please sign in to comment.