Skip to content

Commit ebdd647

Browse files
committed
Fix flakey tests.
Closes #407
1 parent e4819da commit ebdd647

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/test/java/org/springframework/data/map/MapKeyValueAdapterUnitTests.java

+5-1
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,18 @@
1818
import static org.assertj.core.api.Assertions.*;
1919

2020
import java.util.AbstractMap;
21+
import java.util.LinkedHashMap;
2122
import java.util.Map;
2223

2324
import org.junit.jupiter.api.BeforeEach;
2425
import org.junit.jupiter.api.Test;
2526
import org.springframework.data.util.CloseableIterator;
2627

2728
/**
29+
* Unit tests for {@link MapKeyValueAdapter}.
30+
*
2831
* @author Christoph Strobl
32+
* @author Mark Paluch
2933
*/
3034
class MapKeyValueAdapterUnitTests {
3135

@@ -40,7 +44,7 @@ class MapKeyValueAdapterUnitTests {
4044

4145
@BeforeEach
4246
void setUp() {
43-
this.adapter = new MapKeyValueAdapter();
47+
this.adapter = new MapKeyValueAdapter(LinkedHashMap.class);
4448
}
4549

4650
@Test // DATACMNS-525

0 commit comments

Comments
 (0)