Failing test + change to runTests

This commit is contained in:
Rsl1122 2018-12-26 21:15:30 +02:00
parent 0b19adcc74
commit c152817aa1
3 changed files with 6 additions and 7 deletions

View File

@ -12,13 +12,6 @@ allprojects {
group "com.djrapitops"
version "4.6.0-SNAPSHOT"
test {
testLogging {
events "passed", "failed"
exceptionFormat "full"
}
}
}
subprojects {

View File

@ -31,6 +31,11 @@ public class SessionCacheTest {
SessionCache.clear();
}
@Test
public void failingTest() {
assertTrue(false);
}
@Test
public void testAtomity() {
Optional<Session> cachedSession = SessionCache.getCachedSession(uuid);

View File

@ -5,5 +5,6 @@ if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
fi
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
gradle test
gradle sonarqube
fi