diff --git a/.travis.yml b/.travis.yml index 26f1fdd18..f21ed9c5e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,7 +44,6 @@ env: install: skip script: ci/test.sh $DB - before_cache: rm -rf $HOME/.m2/repository/pro/taskana jobs: diff --git a/ci/test.sh b/ci/test.sh index face59f27..90bbbc6f1 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -35,7 +35,7 @@ function main() { eval "$REL/prepare_db.sh '$1'" # We can not use the fance '-f' maven option due to a bug in arquillian. See https://issues.jboss.org/browse/THORN-2049 #-Pcoverage to activate jacoco and test coverage reports - # #send test coverage and build information to sonarcloud + # send test coverage and build information to sonarcloud (cd $REL/.. \ && mvn -q install -B -T 4C -am -Pcoverage -Dmaven.javadoc.skip -Dcheckstyle.skip \ && mvn sonar:sonar -Pcoverage -Dsonar.projectKey="$SONAR_PROJECT_KEY" diff --git a/lib/taskana-cdi-example/pom.xml b/lib/taskana-cdi-example/pom.xml index fcef197ff..cd438f6a7 100644 --- a/lib/taskana-cdi-example/pom.xml +++ b/lib/taskana-cdi-example/pom.xml @@ -26,23 +26,5 @@ taskana-cdi ${project.version} - - org.junit.jupiter - junit-jupiter-api - ${version.junit.jupiter} - test - - - org.junit.jupiter - junit-jupiter-engine - ${version.junit.jupiter} - test - - - org.junit.vintage - junit-vintage-engine - ${version.junit.jupiter} - test - diff --git a/lib/taskana-cdi-example/src/test/java/pro/taskana/ExampleBootstrap.java b/lib/taskana-cdi-example/src/test/java/pro/taskana/ExampleBootstrap.java deleted file mode 100644 index 9785b25ba..000000000 --- a/lib/taskana-cdi-example/src/test/java/pro/taskana/ExampleBootstrap.java +++ /dev/null @@ -1,14 +0,0 @@ -package pro.taskana; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; - -/** Placeholder test class until we have real tests. */ -class ExampleBootstrap { - - /** TODO add real tests. */ - @Test - void sampleTest() { - Assertions.assertTrue(true); - } -} diff --git a/rest/taskana-rest-spring-example-boot/pom.xml b/rest/taskana-rest-spring-example-boot/pom.xml index 8e1326cc1..83b42a308 100644 --- a/rest/taskana-rest-spring-example-boot/pom.xml +++ b/rest/taskana-rest-spring-example-boot/pom.xml @@ -72,47 +72,6 @@ taskana-rest-spring-example-common ${project.version} - - - - org.springframework.boot - spring-boot-starter-test - test - - - org.springframework.security - spring-security-test - test - - - org.springframework.ldap - spring-ldap-test - test - - - commons-logging - commons-logging - - - - - org.junit.jupiter - junit-jupiter-api - ${version.junit.jupiter} - test - - - org.junit.jupiter - junit-jupiter-engine - ${version.junit.jupiter} - test - - - org.junit.vintage - junit-vintage-engine - ${version.junit.jupiter} - test - diff --git a/rest/taskana-rest-spring-example-boot/src/test/pro/taskana/rest/ExampleRestApplicationTest.java b/rest/taskana-rest-spring-example-boot/src/test/pro/taskana/rest/ExampleRestApplicationTest.java deleted file mode 100644 index 9a0d03f40..000000000 --- a/rest/taskana-rest-spring-example-boot/src/test/pro/taskana/rest/ExampleRestApplicationTest.java +++ /dev/null @@ -1,14 +0,0 @@ -package pro.taskana.rest; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; - -/** Placeholder test class until we have real tests. */ -class ExampleRestApplicationTest { - - /** TODO add real tests */ - @Test - void sampleTest() { - Assertions.assertTrue(true); - } -}