Skip to content

Commit

Permalink
IS-1206: Fixed Dummy-Aggent test compilation errors
Browse files Browse the repository at this point in the history
Signed-off-by: artem.ivanov <[email protected]>
  • Loading branch information
Artemkaaas committed Mar 19, 2019
1 parent a29e338 commit 9e21e88
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion vcx/dummy-cloud-agent/src/actors/agent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ mod tests {
status_code: MessageStatusCode::Created,
sender_did: EDGE_PAIRWISE_DID.to_string(),
type_: RemoteMessageType::CredOffer,
payload: Some(to_i8(&PAYLOAD.to_vec())),
payload: Some(MessageDetailPayload::V1(to_i8(&PAYLOAD.to_vec()))),
ref_msg_id: None,
}]
};
Expand Down
2 changes: 1 addition & 1 deletion vcx/dummy-cloud-agent/src/actors/agent_connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1531,7 +1531,7 @@ mod tests {
status_code: MessageStatusCode::Created,
sender_did: EDGE_PAIRWISE_DID.to_string(),
type_: RemoteMessageType::CredOffer,
payload: Some(to_i8(&PAYLOAD.to_vec())),
payload: Some(MessageDetailPayload::V1(to_i8(&PAYLOAD.to_vec()))),
ref_msg_id: None,
};
assert_eq!(expected_message, messages[0]);
Expand Down
4 changes: 2 additions & 2 deletions vcx/dummy-cloud-agent/src/utils/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ pub fn compose_remove_configs(wallet_handle: i32, agent_did: &str, agent_verkey:

pub fn compose_forward(wallet_handle: i32, recipient_did: &str, recipient_vk: &str, msg: Vec<u8>) -> BoxedFuture<Vec<u8>, Error> {
let msgs = [A2AMessage::Version1(A2AMessageV1::Forward(
Forward {
ForwardV1 {
fwd: recipient_did.into(),
msg,
}))];
Expand All @@ -633,7 +633,7 @@ pub fn compose_forward(wallet_handle: i32, recipient_did: &str, recipient_vk: &s

pub fn compose_authcrypted_forward(wallet_handle: i32, sender_vk: &str, recipient_did: &str, recipient_vk: &str, msg: Vec<u8>) -> BoxedFuture<Vec<u8>, Error> {
let msgs = [A2AMessage::Version1(A2AMessageV1::Forward(
Forward {
ForwardV1 {
fwd: recipient_did.into(),
msg,
}))];
Expand Down

0 comments on commit 9e21e88

Please sign in to comment.