Skip to content

Commit

Permalink
Merge pull request #83 from mercyblitz/dev-1.x
Browse files Browse the repository at this point in the history
Polish #57
  • Loading branch information
mercyblitz authored Jan 10, 2025
2 parents 12527a2 + e22d28a commit 933a87f
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@ public void test() throws Exception {
*/
@EventListener(WebEndpointMappingsReadyEvent.class)
public void onWebEndpointMappingsReadyEvent(WebEndpointMappingsReadyEvent event) {
assertTrue(publishEvents);

// Only TestController
Collection<WebEndpointMapping> mappings = event.getMappings();
assertEquals(1, mappings.size());
Expand All @@ -137,8 +135,6 @@ public void onWebEndpointMappingsReadyEvent(WebEndpointMappingsReadyEvent event)
*/
@EventListener(HandlerMethodArgumentsResolvedEvent.class)
public void onHandlerMethodArgumentsResolvedEvent(HandlerMethodArgumentsResolvedEvent event) {
assertTrue(publishEvents);

Method method = event.getMethod();
assertEquals("echo", method.getName());
assertEquals(String.class, method.getReturnType());
Expand Down

0 comments on commit 933a87f

Please sign in to comment.