ref #9624 use short citation without brackets in cdmlight reference export (cont.)
authorAndreas Müller <a.mueller@bgbm.org>
Mon, 17 May 2021 15:49:49 +0000 (17:49 +0200)
committerAndreas Müller <a.mueller@bgbm.org>
Mon, 17 May 2021 16:04:34 +0000 (18:04 +0200)
cdmlib-io/src/test/java/eu/etaxonomy/cdm/io/cdmLight/out/CdmLightExportTest.java

index ed2bab8d4cb32e4ef5352c42fa25c54ee082b588..5556249f68d39117846a7baebdd27eb0404bc180 100755 (executable)
@@ -129,7 +129,7 @@ public class CdmLightExportTest extends CdmTransactionalIntegrationTest{
             byte[] reference = data.get(CdmLightExportTable.REFERENCE.getTableName());
             String referenceString = new String(reference);
             Assert.assertNotNull("Reference table must not be null", reference);
-            expected ="\"b8dd7f4a-0c7f-4372-bc5d-3b676363bc0f\",\"Mill. (1804)\",\"\",\"The book of botany\",\"1804\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"3\",\"1804\",\"Mill.\"";
+            expected ="\"b8dd7f4a-0c7f-4372-bc5d-3b676363bc0f\",\"Mill. 1804\",\"\",\"The book of botany\",\"1804\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"3\",\"1804\",\"Mill.\"";
             Assert.assertTrue(referenceString.contains(expected));
 
             byte[] geographicAreaFact = data.get(CdmLightExportTable.GEOGRAPHIC_AREA_FACT.getTableName());
@@ -224,7 +224,7 @@ public class CdmLightExportTest extends CdmTransactionalIntegrationTest{
             byte[] reference = data.get(CdmLightExportTable.REFERENCE.getTableName());
             String referenceString = new String(reference);
             Assert.assertNotNull("Reference table must not be null", reference);
-            expected ="\"b8dd7f4a-0c7f-4372-bc5d-3b676363bc0f\",\"Mill. (1804)\",\"\",\"The book of botany\",\"1804\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"3\",\"1804\",\"Mill.\"";
+            expected ="\"b8dd7f4a-0c7f-4372-bc5d-3b676363bc0f\",\"Mill. 1804\",\"\",\"The book of botany\",\"1804\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"3\",\"1804\",\"Mill.\"";
             Assert.assertTrue(referenceString.contains(expected));
 
             byte[] geographicAreaFact = data.get(CdmLightExportTable.GEOGRAPHIC_AREA_FACT.getTableName());