diff --git a/app/controllers/DownloadMetadataController.scala b/app/controllers/DownloadMetadataController.scala index 84c2fe16e..cf448c677 100644 --- a/app/controllers/DownloadMetadataController.scala +++ b/app/controllers/DownloadMetadataController.scala @@ -71,8 +71,7 @@ class DownloadMetadataController @Inject() ( descriptionClosed, descriptionAlternate, language, - filenameTranslated, - fileUUID + filenameTranslated ) val nameMap = displayProperties.filter(dp => columnOrder.contains(dp.propertyName)).map(dp => (dp.propertyName, dp.displayName)).toMap diff --git a/test/controllers/DownloadMetadataControllerSpec.scala b/test/controllers/DownloadMetadataControllerSpec.scala index aa1a1471b..136f492e7 100644 --- a/test/controllers/DownloadMetadataControllerSpec.scala +++ b/test/controllers/DownloadMetadataControllerSpec.scala @@ -140,17 +140,14 @@ class DownloadMetadataControllerSpec extends FrontEndTestHelper { rows.head.getCell(2).asString must equal("Date last modified") rows.head.getCell(3).asString must equal("Date of the record") rows.head.getCell(4).asString must equal("Description") - rows.head.getCell(5).asString must equal("UUID") rows(1).getCell(0).asString must equal("test/path1") rows(1).getCell(1).asString must equal("FileName1") rows(1).getCell(2).asDate.toLocalDate.toString must equal(lastModified.format(DateTimeFormatter.ISO_DATE)) - rows(2).getCell(5).asString must equal(uuid2) rows(2).getCell(0).asString must equal("test/path2") rows(2).getCell(1).asString must equal("FileName2") rows(2).getCell(2).asDate.toLocalDate.toString must equal(lastModified.format(DateTimeFormatter.ISO_DATE)) - rows(2).getCell(5).asString must equal(uuid2) } })