diff options
author | vasraz <vasyl.razinkov@est.tech> | 2022-01-10 19:23:57 +0000 |
---|---|---|
committer | Michael Morris <michael.morris@est.tech> | 2022-01-13 09:38:58 +0000 |
commit | 0fbe309f797b4cdac9d507a6f3dfd193644aa224 (patch) | |
tree | 8c276b59e5a03dab17714ff3b50d96432bf45fb3 /asdctool/src | |
parent | 9253465137072c13a7720bac1496b2f3c8655eb8 (diff) |
Improve testing stability
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I3f631642a97e65d6628816767e0a5408f02f4bc6
Issue-ID: SDC-3839
Diffstat (limited to 'asdctool/src')
-rw-r--r-- | asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/ArtifactValidationUtilsTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/ArtifactValidationUtilsTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/ArtifactValidationUtilsTest.java index 58ce1979f2..f3997edd40 100644 --- a/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/ArtifactValidationUtilsTest.java +++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/ArtifactValidationUtilsTest.java @@ -86,7 +86,7 @@ public class ArtifactValidationUtilsTest { @BeforeEach public void initMocks() { - MockitoAnnotations.initMocks(this); + MockitoAnnotations.openMocks(this); when(artifactCassandraDao.getCountOfArtifactById(ES_ID)).thenReturn(Either.left(1L)); when(artifactCassandraDao.getCountOfArtifactById(ES_ID_NOT_IN_CASS)).thenReturn(Either.right(CassandraOperationStatus.NOT_FOUND)); |