diff --git a/src/main/resources/generator/server/springboot/mvc/dummy/dummy.patch.mustache b/src/main/resources/generator/server/springboot/mvc/dummy/dummy.patch.mustache index cc4a4a38823..525acfcd023 100644 --- a/src/main/resources/generator/server/springboot/mvc/dummy/dummy.patch.mustache +++ b/src/main/resources/generator/server/springboot/mvc/dummy/dummy.patch.mustache @@ -300,7 +300,7 @@ new file mode 100644 index 0000000..fd7d1f9 --- /dev/null +++ b/src/test/java/{{packagePath}}/dummy/infrastructure/secondary/DummyInMemoryRepositoryTest.java -@@ -0,0 +1,54 @@ +@@ -0,0 +1,53 @@ +package {{packageName}}.dummy.infrastructure.secondary; + +import static org.assertj.core.api.Assertions.assertThat; @@ -351,7 +351,6 @@ index 0000000..fd7d1f9 + repository.add(dummy); + + List result = repository.list(); -+ assertThat(result).hasSize(1); -+ assertThat(result).contains(dummy); ++ assertThat(result).hasSize(1).contains(dummy); + } +}