From fa07d234405605b4dc4d9112c253de123b027703 Mon Sep 17 00:00:00 2001 From: Yi Liu Date: Thu, 1 Jul 2021 13:18:45 +0800 Subject: [PATCH] fix sample controller (#22679) --- .../sample/eventhubs/binder/EventHubBinderApplicationIT.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/spring/azure-spring-boot-samples/azure-spring-cloud-sample-eventhubs-binder/src/test/java/com/azure/spring/sample/eventhubs/binder/EventHubBinderApplicationIT.java b/sdk/spring/azure-spring-boot-samples/azure-spring-cloud-sample-eventhubs-binder/src/test/java/com/azure/spring/sample/eventhubs/binder/EventHubBinderApplicationIT.java index fc77a45e5f029..9a4f04a8c3474 100644 --- a/sdk/spring/azure-spring-boot-samples/azure-spring-cloud-sample-eventhubs-binder/src/test/java/com/azure/spring/sample/eventhubs/binder/EventHubBinderApplicationIT.java +++ b/sdk/spring/azure-spring-boot-samples/azure-spring-cloud-sample-eventhubs-binder/src/test/java/com/azure/spring/sample/eventhubs/binder/EventHubBinderApplicationIT.java @@ -34,7 +34,7 @@ public class EventHubBinderApplicationIT { public void testSendAndReceiveMessage(CapturedOutput capturedOutput) throws Exception { Thread.sleep(10000); String message = UUID.randomUUID().toString(); - mvc.perform(post("/messages?message=" + message)).andExpect(status().isOk()) + mvc.perform(post("/messages/reactive?message=" + message)).andExpect(status().isOk()) .andExpect(content().string(message)); String messageReceivedLog = String.format("New message received: '%s'", message); String messageCheckpointedLog = String.format("Message '%s' successfully checkpointed", message);