diff options
-rw-r--r-- | vid-automation/src/test/java/org/onap/vid/api/ChangeManagementApiTest.java | 3 |
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, |