Skip to content

Commit a8f540a

Browse files
committed
Restored original log4j.properties file reference in 4.3.x branch
1 parent 9767165 commit a8f540a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-context/src/test/java/org/springframework/context/expression/ApplicationContextExpressionTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,10 +326,10 @@ public void stringConcatenationWithDebugLogging() {
326326

327327
@Test
328328
public void resourceInjection() throws IOException {
329-
System.setProperty("logfile", "do_not_delete_me.txt");
329+
System.setProperty("logfile", "log4j.properties");
330330
try (AnnotationConfigApplicationContext ac = new AnnotationConfigApplicationContext(ResourceInjectionBean.class)) {
331331
ResourceInjectionBean resourceInjectionBean = ac.getBean(ResourceInjectionBean.class);
332-
Resource resource = new ClassPathResource("do_not_delete_me.txt");
332+
Resource resource = new ClassPathResource("log4j.properties");
333333
assertEquals(resource, resourceInjectionBean.resource);
334334
assertEquals(resource.getURL(), resourceInjectionBean.url);
335335
assertEquals(resource.getURI(), resourceInjectionBean.uri);

0 commit comments

Comments
 (0)