Skip to content

Commit b777948

Browse files
committed
[tests] Use classpath instead of file location for resource file after standard directory layout move
1 parent 7c33fd0 commit b777948

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/org/mybatis/spring/submitted/webapp_placeholder/WebappPlaceholderTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2022 the original author or authors.
2+
* Copyright 2010-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -29,7 +29,7 @@
2929

3030
@ExtendWith(SpringExtension.class)
3131
@WebAppConfiguration
32-
@SpringJUnitConfig(locations = "file:src/test/java/org/mybatis/spring/submitted/webapp_placeholder/spring.xml")
32+
@SpringJUnitConfig(locations = "classpath:org/mybatis/spring/submitted/webapp_placeholder/spring.xml")
3333
class WebappPlaceholderTest {
3434

3535
@Autowired

0 commit comments

Comments
 (0)