You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DATAMONGO-1559 - Drop collections used in ReactiveMongoTemplateExecuteTests before tests.
We now drop the collections used in ReactiveMongoTemplateExecuteTests on test start to create a clean state for the tests. Previously, collections were dropped after the tests only so existing data in the collections could interfere with the tests themselves.
Copy file name to clipboardExpand all lines: spring-data-mongodb/src/test/java/org/springframework/data/mongodb/core/ReactiveMongoTemplateExecuteTests.java
+7-16Lines changed: 7 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,6 @@
15
15
*/
16
16
packageorg.springframework.data.mongodb.core;
17
17
18
-
importstaticcom.sun.prism.impl.Disposer.*;
19
18
importstaticorg.hamcrest.Matchers.*;
20
19
importstaticorg.junit.Assert.*;
21
20
importstaticorg.junit.Assume.*;
@@ -24,7 +23,6 @@
24
23
importreactor.test.StepVerifier;
25
24
26
25
importorg.bson.Document;
27
-
importorg.junit.After;
28
26
importorg.junit.Before;
29
27
importorg.junit.Rule;
30
28
importorg.junit.Test;
@@ -62,7 +60,13 @@ public class ReactiveMongoTemplateExecuteTests {
0 commit comments