mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-17 15:03:18 +00:00
Trying Travis Tests
This commit is contained in:
@@ -9,6 +9,7 @@ package org.dspace.discovery;
|
|||||||
|
|
||||||
import static org.junit.Assert.assertEquals;
|
import static org.junit.Assert.assertEquals;
|
||||||
import static org.junit.Assert.assertNotNull;
|
import static org.junit.Assert.assertNotNull;
|
||||||
|
import static org.junit.Assert.assertTrue;
|
||||||
import static org.junit.Assert.fail;
|
import static org.junit.Assert.fail;
|
||||||
|
|
||||||
import java.sql.SQLException;
|
import java.sql.SQLException;
|
||||||
@@ -139,7 +140,7 @@ public class DiscoveryIT extends AbstractIntegrationTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void assertSolrNotNull() {
|
public void assertSolrSearchCoreIsMock() {
|
||||||
assertNotNull(searchService.getSolrSearchCore().getSolr());
|
assertTrue(searchService.getSolrSearchCore() instanceof MockSolrSearchCore);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user