summaryrefslogtreecommitdiffstats
path: root/rulemgt/src/test/java
diff options
context:
space:
mode:
authorGuangrong Fu <fu.guangrong@zte.com.cn>2022-08-15 18:26:04 +0800
committerGuangrong Fu <fu.guangrong@zte.com.cn>2022-08-15 18:26:04 +0800
commit4627750077003db93420c053faa66310b27af7b1 (patch)
treebc9e5da1fc966dbd1d97aec69bce7e45e438d81f /rulemgt/src/test/java
parent1741310e9bae9c4ab70bdb34b0bfb54d0389c9b1 (diff)
bugfix - accidental removal of rules
Issue-ID: HOLMES-564 Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn> Change-Id: Ifda11ebea31a5269e59d7fe6ee65a74da979497b
Diffstat (limited to 'rulemgt/src/test/java')
-rw-r--r--rulemgt/src/test/java/org/onap/holmes/rulemgt/dcae/ConfigFileScanningTaskTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/rulemgt/src/test/java/org/onap/holmes/rulemgt/dcae/ConfigFileScanningTaskTest.java b/rulemgt/src/test/java/org/onap/holmes/rulemgt/dcae/ConfigFileScanningTaskTest.java
index 396c2c1..a4ab15b 100644
--- a/rulemgt/src/test/java/org/onap/holmes/rulemgt/dcae/ConfigFileScanningTaskTest.java
+++ b/rulemgt/src/test/java/org/onap/holmes/rulemgt/dcae/ConfigFileScanningTaskTest.java
@@ -1,5 +1,5 @@
/**
- * Copyright 2021 ZTE Corporation.
+ * Copyright 2021-2022 ZTE Corporation.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -214,6 +214,7 @@ public class ConfigFileScanningTaskTest {
ruleResult4API.setContent(contents);
ruleResult4API.setDescription("");
ruleResult4API.setEnabled(1);
+ ruleResult4API.setCreator("__SYSTEM__DEFAULT__");
return ruleResult4API;
}
} \ No newline at end of file