diff --git a/src/catalog/events/src/test/java/org/geoserver/cloud/config/catalog/events/CatalogApplicationEventsConfigurationTest.java b/src/catalog/events/src/test/java/org/geoserver/cloud/config/catalog/events/CatalogApplicationEventsConfigurationTest.java index 424b95d77..edf1723b9 100644 --- a/src/catalog/events/src/test/java/org/geoserver/cloud/config/catalog/events/CatalogApplicationEventsConfigurationTest.java +++ b/src/catalog/events/src/test/java/org/geoserver/cloud/config/catalog/events/CatalogApplicationEventsConfigurationTest.java @@ -83,7 +83,7 @@ class CatalogApplicationEventsConfigurationTest { @Test void testCatalogEventBroadcasterHasSetUpItself() { - Optional publiherListener = + Optional publisherListener = catalog.getListeners().stream() .filter( l -> @@ -92,12 +92,12 @@ void testCatalogEventBroadcasterHasSetUpItself() { CatalogApplicationEventPublisher .LocalCatalogEventPublisher) .findFirst(); - assertTrue(publiherListener.isPresent()); + assertTrue(publisherListener.isPresent()); } @Test void testConfigEventBroadcasterHasSetUpItself() { - Optional publiherListener = + Optional publisherListener = geoserver.getListeners().stream() .filter( l -> @@ -106,7 +106,7 @@ void testConfigEventBroadcasterHasSetUpItself() { CatalogApplicationEventPublisher .LocalConfigEventPublisher) .findFirst(); - assertTrue(publiherListener.isPresent()); + assertTrue(publisherListener.isPresent()); } @Test