Polish
See gh-37745
This commit is contained in:
committed by
Andy Wilkinson
parent
5a1abb76f7
commit
303015ea2d
@@ -82,7 +82,7 @@ class InitCommandTests extends AbstractHttpClientMockTests {
|
||||
|
||||
@Test
|
||||
void generateProject() throws Exception {
|
||||
String fileName = UUID.randomUUID().toString() + ".zip";
|
||||
String fileName = UUID.randomUUID() + ".zip";
|
||||
File file = new File(fileName);
|
||||
assertThat(file.exists()).as("file should not exist").isFalse();
|
||||
MockHttpProjectGenerationRequest request = new MockHttpProjectGenerationRequest("application/zip", fileName);
|
||||
@@ -177,7 +177,7 @@ class InitCommandTests extends AbstractHttpClientMockTests {
|
||||
|
||||
@Test
|
||||
void generateProjectAndExtractUnsupportedArchive(@TempDir File tempDir) throws Exception {
|
||||
String fileName = UUID.randomUUID().toString() + ".zip";
|
||||
String fileName = UUID.randomUUID() + ".zip";
|
||||
File file = new File(fileName);
|
||||
assertThat(file.exists()).as("file should not exist").isFalse();
|
||||
try {
|
||||
@@ -195,7 +195,7 @@ class InitCommandTests extends AbstractHttpClientMockTests {
|
||||
|
||||
@Test
|
||||
void generateProjectAndExtractUnknownContentType(@TempDir File tempDir) throws Exception {
|
||||
String fileName = UUID.randomUUID().toString() + ".zip";
|
||||
String fileName = UUID.randomUUID() + ".zip";
|
||||
File file = new File(fileName);
|
||||
assertThat(file.exists()).as("file should not exist").isFalse();
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user