diff options
author | Rob Daugherty <rd472p@att.com> | 2017-10-20 14:06:05 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-10-20 14:06:05 +0000 |
commit | a582a03358c8a56a21922db0edbc8f5bc8bcd224 (patch) | |
tree | 9ee09c87d460382bd1a37f71d8125940f57638e3 /bpmn/MSOCommonBPMN/src/test/java | |
parent | 1416a354c91145e6f853bdfacddb8f8579eb8b49 (diff) | |
parent | 9f48bf3ea3f15bd2c2b6a7bf10f1a3f34dd5b406 (diff) |
Merge "Flows fail to update status in requests DB"
Diffstat (limited to 'bpmn/MSOCommonBPMN/src/test/java')
-rw-r--r-- | bpmn/MSOCommonBPMN/src/test/java/org/openecomp/mso/bpmn/common/FalloutHandlerTest.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bpmn/MSOCommonBPMN/src/test/java/org/openecomp/mso/bpmn/common/FalloutHandlerTest.java b/bpmn/MSOCommonBPMN/src/test/java/org/openecomp/mso/bpmn/common/FalloutHandlerTest.java index 7c9247addb..8281687dec 100644 --- a/bpmn/MSOCommonBPMN/src/test/java/org/openecomp/mso/bpmn/common/FalloutHandlerTest.java +++ b/bpmn/MSOCommonBPMN/src/test/java/org/openecomp/mso/bpmn/common/FalloutHandlerTest.java @@ -40,6 +40,11 @@ import org.openecomp.mso.bpmn.common.workflow.service.WorkflowResponse; */
public class FalloutHandlerTest extends WorkflowTest {
private void setupMocks() {
+ stubFor(post(urlEqualTo("/dbadapters/MsoRequestsDbAdapter"))
+ .willReturn(aResponse()
+ .withStatus(200)
+ .withHeader("Content-Type", "text/xml")
+ .withBody("<DbTag>Notified</DbTag>")));
stubFor(post(urlEqualTo("/dbadapters/RequestsDbAdapter"))
.willReturn(aResponse()
.withStatus(200)
|