Align Checkstyle config with Spring Boot

This commit is contained in:
Vedran Pavic
2019-06-03 16:49:08 +02:00
parent 78b72f2d1b
commit 566b388b2f
16 changed files with 177 additions and 162 deletions

View File

@@ -31,7 +31,7 @@ import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.test.context.web.WebAppConfiguration;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
import static org.assertj.core.api.Assertions.assertThatIllegalStateException;
/**
* Integration tests for {@link ReactiveRedisOperationsSessionRepository}.
@@ -223,7 +223,7 @@ public class ReactiveRedisOperationsSessionRepositoryITests extends AbstractRedi
toSave.setLastAccessedTime(Instant.now());
assertThatExceptionOfType(IllegalStateException.class)
assertThatIllegalStateException()
.isThrownBy(() -> this.repository.save(toSave).block())
.withMessage("Session was invalidated");