We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 760c353 commit 15da448Copy full SHA for 15da448
src/test/java/fr/france/RegionTest.java
@@ -18,7 +18,7 @@ class RegionTest {
18
@Test
19
void test_getDepartements() {
20
for (Region region : Region.values()) {
21
- assertThat(getDepartementsFiltrePar(region), containsInAnyOrder(region.getDepartements()));
+ assertThat(getDepartementsFiltrePar(region), containsInAnyOrder(region.getDepartements().toArray(new Departement[0])));
22
}
23
24
0 commit comments