@@ -409,7 +409,7 @@ class DatasetServiceIntegrationTest() : CsmTestBase() {
409
409
}
410
410
411
411
@Test
412
- fun `test createDataset with two dataset part with same name` () {
412
+ fun `test createDataset with two dataset parts and same multipart file name` () {
413
413
414
414
val customerPartName = " Customers list"
415
415
val customerPartDescription = " List of customers"
@@ -464,8 +464,8 @@ class DatasetServiceIntegrationTest() : CsmTestBase() {
464
464
}
465
465
assertEquals(
466
466
" Part File names should be unique during dataset creation. " +
467
- " Files : [$CUSTOMER_SOURCE_FILE_NAME , $CUSTOMER_SOURCE_FILE_NAME ]. " +
468
- " Dataset Parts : [$CUSTOMER_SOURCE_FILE_NAME , anotherFile.txt]." ,
467
+ " Multipart file names : [$CUSTOMER_SOURCE_FILE_NAME , $CUSTOMER_SOURCE_FILE_NAME ]. " +
468
+ " Dataset parts source names : [$CUSTOMER_SOURCE_FILE_NAME , anotherFile.txt]." ,
469
469
exception.message)
470
470
}
471
471
@@ -588,9 +588,9 @@ class DatasetServiceIntegrationTest() : CsmTestBase() {
588
588
arrayOf(mockMultipartFile))
589
589
}
590
590
assertEquals(
591
- " All files must have the same name as their corresponding Dataset Part. " +
592
- " Files : [customers.csv]. " +
593
- " Dataset Parts : [wrongname.csv]." ,
591
+ " All files must have the same name as corresponding sourceName in a Dataset Part. " +
592
+ " Multipart file names : [customers.csv]. " +
593
+ " Dataset parts source names : [wrongname.csv]." ,
594
594
exception.message)
595
595
}
596
596
@@ -1627,7 +1627,7 @@ class DatasetServiceIntegrationTest() : CsmTestBase() {
1627
1627
}
1628
1628
1629
1629
@Test
1630
- fun `test updateDataset with two dataset part with same name` () {
1630
+ fun `test updateDataset with two dataset parts and same multipart file name` () {
1631
1631
1632
1632
val initialDataset =
1633
1633
datasetApiService.createDataset(
@@ -1689,9 +1689,9 @@ class DatasetServiceIntegrationTest() : CsmTestBase() {
1689
1689
arrayOf(customerMockMultipartFile, customerMockMultipartFile2))
1690
1690
}
1691
1691
assertEquals(
1692
- " Part File names should be unique during dataset update. " +
1693
- " Files : [$CUSTOMER_SOURCE_FILE_NAME , $CUSTOMER_SOURCE_FILE_NAME ]. " +
1694
- " Dataset Parts : [$CUSTOMER_SOURCE_FILE_NAME , anotherFile.txt]." ,
1692
+ " Multipart file names should be unique during dataset update. " +
1693
+ " Multipart file names : [$CUSTOMER_SOURCE_FILE_NAME , $CUSTOMER_SOURCE_FILE_NAME ]. " +
1694
+ " Dataset parts source names : [$CUSTOMER_SOURCE_FILE_NAME , anotherFile.txt]." ,
1695
1695
exception.message)
1696
1696
}
1697
1697
0 commit comments