Trying Travis Tests

This commit is contained in:
Raf Ponsaerts
2020-05-12 13:24:56 +02:00
parent 2ff63a9a59
commit 2a8fe67858

View File

@@ -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);
}
}