aboutsummaryrefslogtreecommitdiffstats
path: root/controlloop/common/controller-usecases/src/test
diff options
context:
space:
mode:
authorisaac <isaac.adorno@att.com>2023-01-12 09:12:01 -0600
committerjhh <jorge.hernandez-herrero@att.com>2023-01-26 10:15:02 -0600
commit6895f4d2004cf3ccb94d9d7bbb0928db50dae39a (patch)
tree15f748041d33bf87aa75e7fecdfb99a0d8fc42b8 /controlloop/common/controller-usecases/src/test
parent501f367a8569b4091af8fc9b8a60da1416979014 (diff)
Updating tests to account for Drools upgrade
Issue-ID: POLICY-4498 Signed-off-by: isaac <isaac.adorno@att.com> Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I8e0fcb2905bbc9f8254ec8af6044b5b5a720f65a
Diffstat (limited to 'controlloop/common/controller-usecases/src/test')
-rw-r--r--controlloop/common/controller-usecases/src/test/java/org/onap/policy/drools/apps/controller/usecases/UsecasesEventManagerTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/controlloop/common/controller-usecases/src/test/java/org/onap/policy/drools/apps/controller/usecases/UsecasesEventManagerTest.java b/controlloop/common/controller-usecases/src/test/java/org/onap/policy/drools/apps/controller/usecases/UsecasesEventManagerTest.java
index 434939d5d..07d168a05 100644
--- a/controlloop/common/controller-usecases/src/test/java/org/onap/policy/drools/apps/controller/usecases/UsecasesEventManagerTest.java
+++ b/controlloop/common/controller-usecases/src/test/java/org/onap/policy/drools/apps/controller/usecases/UsecasesEventManagerTest.java
@@ -2,7 +2,7 @@
* ============LICENSE_START=======================================================
* ONAP
* ================================================================================
- * Copyright (C) 2020-2021 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2020-2021, 2023 AT&T Intellectual Property. All rights reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -42,10 +42,10 @@ import java.util.TreeMap;
import java.util.UUID;
import java.util.concurrent.ExecutorService;
import org.drools.core.WorkingMemory;
+import org.drools.core.common.InternalFactHandle;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
-import org.kie.api.runtime.rule.FactHandle;
import org.mockito.Mock;
import org.mockito.junit.MockitoJUnitRunner;
import org.onap.policy.common.utils.coder.Coder;
@@ -105,7 +105,7 @@ public class UsecasesEventManagerTest {
@Mock
private WorkingMemory workMem;
@Mock
- private FactHandle factHandle;
+ private InternalFactHandle factHandle;
@Mock
private Operator policyOperator;
@Mock