Commit 2acb3c2c authored by Piotr Gawron's avatar Piotr Gawron
Browse files

clean after test

parent 5e834800
...@@ -13,6 +13,7 @@ import static org.springframework.restdocs.request.RequestDocumentation.pathPara ...@@ -13,6 +13,7 @@ import static org.springframework.restdocs.request.RequestDocumentation.pathPara
import static org.springframework.restdocs.request.RequestDocumentation.requestParameters; import static org.springframework.restdocs.request.RequestDocumentation.requestParameters;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
import java.io.IOException;
import java.util.Arrays; import java.util.Arrays;
import java.util.Calendar; import java.util.Calendar;
import java.util.List; import java.util.List;
...@@ -74,7 +75,11 @@ public class GenomicsControllerIntegrationTest extends ControllerIntegrationTest ...@@ -74,7 +75,11 @@ public class GenomicsControllerIntegrationTest extends ControllerIntegrationTest
} }
@After @After
public void tearDown() { public void tearDown() throws IOException {
ReferenceGenome referenceGenome = referenceGenomeService.getReferenceGenomeViewByParams(ebolaId, ReferenceGenomeType.UCSC, "eboVir3");
if (referenceGenome != null) {
referenceGenomeService.removeGenome(referenceGenome);
}
} }
@Test @Test
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment