This is an automated email from the ASF dual-hosted git repository.
vorburger pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git
The following commit(s) were added to refs/heads/develop by this push:
new eee2841 FINERACT-780: Unique id for hook test
eee2841 is described below
commit eee2841b5c9e44dfb3f8f2401c55dea0a9c6fee2
Author: Mohit Sinha <[email protected]>
AuthorDate: Thu Jul 18 15:53:43 2019 +0700
FINERACT-780: Unique id for hook test
---
.../org/apache/fineract/integrationtests/HookIntegrationTest.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git
a/fineract-provider/src/integrationTest/java/org/apache/fineract/integrationtests/HookIntegrationTest.java
b/fineract-provider/src/integrationTest/java/org/apache/fineract/integrationtests/HookIntegrationTest.java
index 5013a40..ae3c68b 100644
---
a/fineract-provider/src/integrationTest/java/org/apache/fineract/integrationtests/HookIntegrationTest.java
+++
b/fineract-provider/src/integrationTest/java/org/apache/fineract/integrationtests/HookIntegrationTest.java
@@ -22,6 +22,7 @@ import org.junit.Assert;
import static org.junit.Assert.fail;
+import java.util.UUID;
import java.util.concurrent.TimeUnit;
import org.apache.fineract.integrationtests.common.HookHelper;
@@ -62,7 +63,8 @@ public class HookIntegrationTest {
// Subject to https://echo-webhook.herokuapp.com being up
// See
//
http://www.jamesward.com/2014/06/11/testing-webhooks-was-a-pain-so-i-fixed-the-glitch
- final String payloadURL =
"http://echo-webhook.herokuapp.com:80/Z7RXoCBdLSFMDrpn?";
+ final String uniqueId = UUID.randomUUID().toString();
+ final String payloadURL = "http://echo-webhook.herokuapp.com:80/" +
uniqueId + "?";
this.hookHelper.createHook(payloadURL);
final Integer createdOfficeID = this.officeHelper.createOffice("01
January 2012");
try {