Skip to content

Commit

Permalink
fix more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chillleader committed Sep 23, 2024
1 parent f892a60 commit 9c1fc20
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,14 @@ public ZeebeFuture<ProcessInstanceEvent> send() {
future.complete(new ProcessInstanceEventDummy());
return future;
}

@Override
public CreateProcessInstanceCommandStep1 useRest() {
return this;
}

@Override
public CreateProcessInstanceCommandStep1 useGrpc() {
return this;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,14 @@ public ZeebeFuture<PublishMessageResponse> send() {
future.complete(new PublishMessageResponseDummy());
return future;
}

@Override
public PublishMessageCommandStep1 useRest() {
return this;
}

@Override
public PublishMessageCommandStep1 useGrpc() {
return this;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
properties = {
"spring.main.allow-bean-definition-overriding=true",
"camunda.connector.webhook.enabled=false",
"camunda.connector.polling.enabled=false"
"camunda.connector.polling.enabled=false",
"operate.client.profile=simple"
},
webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
@CamundaSpringProcessTest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
properties = {
"spring.main.allow-bean-definition-overriding=true",
"camunda.connector.webhook.enabled=false",
"camunda.connector.polling.enabled=false"
"camunda.connector.polling.enabled=false",
"operate.client.profile=simple"
},
webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
@CamundaSpringProcessTest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
properties = {
"spring.main.allow-bean-definition-overriding=true",
"camunda.connector.webhook.enabled=false",
"camunda.connector.polling.enabled=true"
"camunda.connector.polling.enabled=true",
"operate.client.profile=simple"
},
webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
@CamundaSpringProcessTest
Expand Down

0 comments on commit 9c1fc20

Please sign in to comment.