summaryrefslogtreecommitdiffstats
path: root/vid-automation/src
diff options
context:
space:
mode:
authorAmichai Hemli <amichai.hemli@intl.att.com>2020-03-22 15:16:58 +0000
committerGerrit Code Review <gerrit@onap.org>2020-03-22 15:16:58 +0000
commitbc1a54ad8cff801e5169e770b7e9ba944e6057ce (patch)
treefe1aedc06ad1dafe97d2ce914b731de8b84b297a /vid-automation/src
parente059877c392d457f34dc947bd4fd0d3ba19714aa (diff)
parent10dce93742688eb9185eded6968413fb9670c556 (diff)
Merge "Change-Management tests: reset presets before each test"
Diffstat (limited to 'vid-automation/src')
-rw-r--r--vid-automation/src/test/java/org/onap/vid/api/ChangeManagementApiTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/vid-automation/src/test/java/org/onap/vid/api/ChangeManagementApiTest.java b/vid-automation/src/test/java/org/onap/vid/api/ChangeManagementApiTest.java
index abca42170..d0481fadd 100644
--- a/vid-automation/src/test/java/org/onap/vid/api/ChangeManagementApiTest.java
+++ b/vid-automation/src/test/java/org/onap/vid/api/ChangeManagementApiTest.java
@@ -67,6 +67,7 @@ import org.springframework.util.StopWatch;
import org.springframework.web.client.RestTemplate;
import org.testng.Assert;
import org.testng.annotations.BeforeClass;
+import org.testng.annotations.BeforeMethod;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import vid.automation.test.infra.FeatureTogglingTest;
@@ -179,7 +180,7 @@ public class ChangeManagementApiTest extends BaseApiTest {
super.login();
}
- @BeforeClass
+ @BeforeMethod
public static void commonSimulatorRegistration() {
SimulatorApi.registerExpectationFromPreset(
PresetAAIGetCloudOwnersByCloudRegionId.PRESET_MDT1_TO_ATT_NC,