Skip to content

Commit

Permalink
Merge pull request #101 from mureinik/junit-jupiter
Browse files Browse the repository at this point in the history
Fix accidental JUnit 4 usages
  • Loading branch information
dermatologist authored Oct 5, 2022
2 parents b377131 + 047dd6a commit a303f0d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import java.util.concurrent.TimeUnit;

import com.canehealth.ckblib.qtakes.model.QtakesRoot;
import org.junit.After;
import org.junit.BeforeClass;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.mockserver.client.server.MockServerClient;
import org.mockserver.integration.ClientAndServer;
Expand All @@ -30,12 +30,12 @@ public class QtakesServiceTest {

private static ClientAndServer mockServer;

@BeforeClass
@BeforeAll
public static void startServer() {
mockServer = startClientAndServer(1080);
}

@After
@AfterAll
public static void stopServer() {
mockServer.stop();
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.canehealth.ckblib.umls.service;

import static org.junit.Assert.assertThrows;
import static org.junit.Assert.assertTrue;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
import com.canehealth.ckblib.umls.model.SearchRoot;
import com.canehealth.ckblib.umls.model.SingletonRoot;
import org.junit.jupiter.api.Test;
Expand Down Expand Up @@ -77,4 +77,4 @@ void shouldRetrieveCui() throws InterruptedException {
static class TestConfiguration {
}

}
}

0 comments on commit a303f0d

Please sign in to comment.