From afb4a7a639b13fb747bc848cad7c69cc741143c4 Mon Sep 17 00:00:00 2001 From: Naian <126972030+nain-F49FF806@users.noreply.github.com> Date: Wed, 1 Nov 2023 14:54:49 +0100 Subject: [PATCH] rename function for clarity Signed-off-by: Naian <126972030+nain-F49FF806@users.noreply.github.com> --- agents/rust/mediator/tests/mediator-protocol-pickup.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/agents/rust/mediator/tests/mediator-protocol-pickup.rs b/agents/rust/mediator/tests/mediator-protocol-pickup.rs index 04baf36ec0..13aaa176bf 100644 --- a/agents/rust/mediator/tests/mediator-protocol-pickup.rs +++ b/agents/rust/mediator/tests/mediator-protocol-pickup.rs @@ -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<()> { @@ -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(