mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +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.assertNotNull;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
import static org.junit.Assert.fail;
|
||||
|
||||
import java.sql.SQLException;
|
||||
@@ -139,7 +140,7 @@ public class DiscoveryIT extends AbstractIntegrationTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void assertSolrNotNull() {
|
||||
assertNotNull(searchService.getSolrSearchCore().getSolr());
|
||||
public void assertSolrSearchCoreIsMock() {
|
||||
assertTrue(searchService.getSolrSearchCore() instanceof MockSolrSearchCore);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user