Skip to content

Commit

Permalink
Patch HudsonTestCase for web fragments as well (#904)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlatombe authored Jan 22, 2025
1 parent 8e44578 commit e6ba819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/jvnet/hudson/test/HudsonTestCase.java
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ protected ClassLoader configureClassLoader(ClassLoader loader) {
};
context.setResourceBase(explodedWarDir.getPath());
context.setClassLoader(getClass().getClassLoader());
context.setConfigurations(new Configuration[]{new WebXmlConfiguration()});
context.setConfigurationDiscovered(true);
context.addBean(new NoListenerConfiguration2(context));
context.setServer(server);
String compression = System.getProperty("jth.compression", "gzip");
Expand Down

0 comments on commit e6ba819

Please sign in to comment.