We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da2368e commit 7a4c8afCopy full SHA for 7a4c8af
logicaldoc-cmis/src/test/java/com/logicaldoc/cmis/AbstractCmisTestCase.java
@@ -1,5 +1,8 @@
1
package com.logicaldoc.cmis;
2
3
+import org.springframework.context.ApplicationContext;
4
+import org.springframework.context.support.ClassPathXmlApplicationContext;
5
+
6
import com.logicaldoc.util.junit.AbstractTestCase;
7
8
/**
@@ -19,8 +22,8 @@ public abstract class AbstractCmisTestCase extends AbstractTestCase {
19
22
}
20
23
21
24
@Override
- protected String[] getContexts() {
- return new String[] { "/contexttest.xml" };
25
+ protected ApplicationContext buildApplicationContext() {
26
+ return new ClassPathXmlApplicationContext(new String[] { "/contexttest.xml" });
27
28
29
0 commit comments