ref #7980 fix tests for aggregation source mode
authorAndreas Müller <a.mueller@bgbm.org>
Thu, 7 Oct 2021 14:20:41 +0000 (16:20 +0200)
committerAndreas Müller <a.mueller@bgbm.org>
Thu, 7 Oct 2021 14:20:41 +0000 (16:20 +0200)
cdmlib-services/src/test/java/eu/etaxonomy/cdm/api/service/description/StructuredDescriptionAggregationTest.java

index f746ece29cd381f994c8272f1d99eacfe6e061f9..f8681fca49beb96bb4ccba219d49cc8e076dc1bb 100644 (file)
@@ -601,6 +601,8 @@ public class StructuredDescriptionAggregationTest extends CdmTransactionalIntegr
         config.setDatasetUuid(dataSet.getUuid());
         config.setAggregationMode(AggregationMode.byWithinTaxonAndToParent());
         config.setIncludeLiterature(false);
+        config.setToParentSourceMode(AggregationSourceMode.DESCRIPTION);  //test where written against DESCRIPTION at the beginning so we use this as default for the tests
+
         return config;
     }