using the correct assertion import

This commit is contained in:
Claudio Atzori 2020-12-11 12:44:17 +01:00
parent 7fe2433137
commit ce7a319e01
1 changed files with 1 additions and 3 deletions

View File

@ -6,15 +6,13 @@ import org.apache.solr.client.solrj.response.UpdateResponse;
import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import junit.framework.Assert;
public class SolrAdminApplicationTest extends SolrTest { public class SolrAdminApplicationTest extends SolrTest {
@Test @Test
public void testPing() throws Exception { public void testPing() throws Exception {
SolrPingResponse pingResponse = miniCluster.getSolrClient().ping(); SolrPingResponse pingResponse = miniCluster.getSolrClient().ping();
log.info("pingResponse: '{}'", pingResponse.getStatus()); log.info("pingResponse: '{}'", pingResponse.getStatus());
Assert.assertTrue(pingResponse.getStatus() == 0); Assertions.assertTrue(pingResponse.getStatus() == 0);
} }
@Test @Test