Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
PracheerAgarwal-zz committed Jan 23, 2017
1 parent 5d01f9c commit 2ad4ce7
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,10 @@ public void testExtensionJobOperations() throws Exception {
assertStatus(apiResult);

String processes = new JSONObject(getExtensionJobDetails(TEST_JOB).getMessage()).get("processes").toString();
Assert.assertEquals(processes, "sample");
JSONObject processObject = new JSONObject();
processObject.put("sample", "EXISTS");

Assert.assertEquals(processes, processObject.toString());
process = (Process) getClient().getDefinition(EntityType.PROCESS.toString(), "sample", null);
Assert.assertEquals(process.getPipelines(), "testSample");

Expand Down

0 comments on commit 2ad4ce7

Please sign in to comment.