Skip to content

Commit

Permalink
chore: Fix pact verification request
Browse files Browse the repository at this point in the history
  • Loading branch information
rholshausen committed Aug 26, 2024
1 parent d6865b4 commit 089e864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/pact_verify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ async fn messages(request: MessageRequest) -> (Status, (ContentType, Vec<u8>)) {
if content_type.sub_type == "protobuf" {
if let Some(message_type) = content_type.attributes.get("message") {
match message_type.as_str() {
"InitPluginRequest" => init_plugin_request(&request).await,
".io.pact.plugin.InitPluginRequest" => init_plugin_request(&request).await,
_ => (Status::BadRequest, (ContentType::Text, Vec::from("Unknown protobuf message type provided")))
}
} else {
Expand Down

0 comments on commit 089e864

Please sign in to comment.