Skip to content

Commit

Permalink
rename function for clarity
Browse files Browse the repository at this point in the history
Signed-off-by: Naian <[email protected]>
  • Loading branch information
nain-F49FF806 committed Nov 1, 2023
1 parent 82bae34 commit afb4a7a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions agents/rust/mediator/tests/mediator-protocol-pickup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ async fn gen_and_register_recipient_key(
Ok((agent_recipient_key, agent_diddoc))
}

async fn forward_dummy_anoncrypt_message(
async fn forward_basic_anoncrypt_message(
agent_diddoc: &AriesDidDoc,
message_text: &str,
) -> Result<()> {
Expand Down Expand Up @@ -146,8 +146,8 @@ async fn test_pickup_flow() -> Result<()> {
)
.await?;
// forward some messages.
forward_dummy_anoncrypt_message(&agent_diddoc, "Hi, from AgentF").await?;
forward_dummy_anoncrypt_message(&agent_diddoc, "Hi again, from AgentF").await?;
forward_basic_anoncrypt_message(&agent_diddoc, "Hi, from AgentF").await?;
forward_basic_anoncrypt_message(&agent_diddoc, "Hi again, from AgentF").await?;
// Pickup flow
// // Status
let pickup_status_req = Pickup::StatusRequest(
Expand Down

0 comments on commit afb4a7a

Please sign in to comment.