Remove unused ExpectedExceptions
Closes gh-10101
This commit is contained in:
committed by
Stephane Nicoll
parent
3ef3b40783
commit
118f65556f
@@ -16,9 +16,7 @@
|
||||
|
||||
package org.springframework.boot.test.autoconfigure.data.mongo;
|
||||
|
||||
import org.junit.Rule;
|
||||
import org.junit.Test;
|
||||
import org.junit.rules.ExpectedException;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@@ -36,9 +34,6 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
@DataMongoTest
|
||||
public class DataMongoTestReactiveIntegrationTests {
|
||||
|
||||
@Rule
|
||||
public ExpectedException thrown = ExpectedException.none();
|
||||
|
||||
@Autowired
|
||||
private ReactiveMongoTemplate mongoTemplate;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user