diff options
author | ayalaben <ayala.benzvi@amdocs.com> | 2018-08-01 15:21:03 +0300 |
---|---|---|
committer | ayalaben <ayala.benzvi@amdocs.com> | 2018-08-01 15:21:03 +0300 |
commit | 87257b6054147f3c40999d03cdda936e194dccca (patch) | |
tree | 94847d1560c94c9e6d04db31f5aad30234fad6a7 /workflow-designer-be/src/test/java | |
parent | 41727d042ca0f0a0a1bb8407aa3b1a1d33f0d257 (diff) |
Validation additions
Change-Id: I0e80789930b067dfe0c79d4cfb9d045509fb94f6
Issue-ID: SDC-1518
Signed-off-by: ayalaben <ayala.benzvi@amdocs.com>
Diffstat (limited to 'workflow-designer-be/src/test/java')
-rw-r--r-- | workflow-designer-be/src/test/java/org/onap/sdc/workflow/services/impl/WorkflowVersionManagerImplTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/workflow-designer-be/src/test/java/org/onap/sdc/workflow/services/impl/WorkflowVersionManagerImplTest.java b/workflow-designer-be/src/test/java/org/onap/sdc/workflow/services/impl/WorkflowVersionManagerImplTest.java index 38ab8a4f..be6fe04e 100644 --- a/workflow-designer-be/src/test/java/org/onap/sdc/workflow/services/impl/WorkflowVersionManagerImplTest.java +++ b/workflow-designer-be/src/test/java/org/onap/sdc/workflow/services/impl/WorkflowVersionManagerImplTest.java @@ -219,6 +219,9 @@ public class WorkflowVersionManagerImplTest { public void shouldUploadArtifact() { Version version = new Version(VERSION1_ID); version.setStatus(VersionStatus.Draft); + VersionState versionState = new VersionState(); + versionState.setDirty(false); + version.setState(versionState); doReturn(version).when(versioningManagerMock).get(eq(ITEM1_ID), eqVersion(VERSION1_ID)); doReturn(DRAFT).when(versionStateMapperMock).versionStatusToWorkflowVersionState(version.getStatus()); |