Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mercyblitz committed Jan 10, 2025
1 parent 37ef3b7 commit e22d28a
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 e22d28a

Please sign in to comment.