Skip to content

Commit

Permalink
Fix CssStylingConfigurationTest, it now requires the GeoServerExtensi…
Browse files Browse the repository at this point in the history
…ons bean

Sine upstream commit 6e6ace9871c793311fefcaf0df72f70589e1ba34,
`org.geoserver.community.css.web.CssHandler` requires the extensions
bean on its constructor. Add it to the AutoConfiguration test.
  • Loading branch information
groldan committed Sep 20, 2024
1 parent 81def64 commit ab83a77
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import org.geoserver.catalog.SLDHandler;
import org.geoserver.community.css.web.CssHandler;
import org.geoserver.platform.GeoServerExtensions;
import org.geoserver.platform.ModuleStatusImpl;
import org.junit.jupiter.api.Test;
import org.springframework.boot.autoconfigure.AutoConfigurations;
Expand All @@ -22,6 +23,7 @@ class CssStylingConfigurationTest {

private final ApplicationContextRunner contextRunner =
new ApplicationContextRunner()
.withBean("extensions", GeoServerExtensions.class)
.withConfiguration(AutoConfigurations.of(CssStylingConfiguration.class));

@Test
Expand Down

0 comments on commit ab83a77

Please sign in to comment.