diff --git a/webapp/test/edu/cornell/mannlib/vitro/webapp/web/templatemodels/customlistview/CustomListViewConfigFileTest.java b/webapp/test/edu/cornell/mannlib/vitro/webapp/web/templatemodels/customlistview/CustomListViewConfigFileTest.java index db6f6decc..0750187ca 100644 --- a/webapp/test/edu/cornell/mannlib/vitro/webapp/web/templatemodels/customlistview/CustomListViewConfigFileTest.java +++ b/webapp/test/edu/cornell/mannlib/vitro/webapp/web/templatemodels/customlistview/CustomListViewConfigFileTest.java @@ -10,10 +10,10 @@ import java.io.StringReader; import java.util.Arrays; import java.util.HashSet; +import org.hamcrest.CoreMatchers; import org.hamcrest.Matcher; import org.junit.Rule; import org.junit.Test; -import org.junit.matchers.JUnitMatchers; import org.junit.rules.ExpectedException; import edu.cornell.mannlib.vitro.testing.AbstractTestClass; @@ -71,7 +71,7 @@ public class CustomListViewConfigFileTest extends AbstractTestClass { @Test public void invalidXml() throws InvalidConfigurationException { suppressSyserr(); // catch the error report from the XML parser - expectException(JUnitMatchers + expectException(CoreMatchers .containsString("Config file is not valid XML:")); readConfigFile(""); }