mirror of
https://gitee.com/dcren/initializr.git
synced 2025-09-18 17:48:14 +08:00
Polish test utilities
This commit is contained in:
@@ -46,8 +46,8 @@ class ProjectGeneratorIntegrationTests {
|
||||
|
||||
@BeforeEach
|
||||
void setup(@TempDir Path directory) {
|
||||
this.projectTester = new ProjectGeneratorTester().withDirectory(directory).withBean(InitializrMetadata.class,
|
||||
() -> InitializrMetadataTestBuilder.withDefaults().build());
|
||||
this.projectTester = new ProjectGeneratorTester().withDirectory(directory).withIndentingWriterFactory()
|
||||
.withBean(InitializrMetadata.class, () -> InitializrMetadataTestBuilder.withDefaults().build());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user