From 773027fe6ef0092f4bed7e953e7bba0c82fff552 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20B=C3=BChner?= Date: Fri, 27 Sep 2024 09:57:50 +0200 Subject: [PATCH] refactor: fix a minor typo --- .../events/CatalogApplicationEventsConfigurationTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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