From 5cbea03709f56d8374b26e46476722a9d6002b8d Mon Sep 17 00:00:00 2001
From: t-burch <119930761+t-burch@users.noreply.github.com>
Date: Tue, 5 Nov 2024 11:25:03 +0100
Subject: [PATCH] Update target URL in service proxy and modify validation test
names to 'banana' (#1327)
---
distribution/examples/validation/form/proxies.xml | 2 +-
.../examples/tests/validation/FormValidationTest.java | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/distribution/examples/validation/form/proxies.xml b/distribution/examples/validation/form/proxies.xml
index a8eed2f60e..7a22392ef1 100644
--- a/distribution/examples/validation/form/proxies.xml
+++ b/distribution/examples/validation/form/proxies.xml
@@ -10,7 +10,7 @@
-
+
diff --git a/distribution/src/test/java/com/predic8/membrane/examples/tests/validation/FormValidationTest.java b/distribution/src/test/java/com/predic8/membrane/examples/tests/validation/FormValidationTest.java
index 84d8599619..649f973c35 100644
--- a/distribution/src/test/java/com/predic8/membrane/examples/tests/validation/FormValidationTest.java
+++ b/distribution/src/test/java/com/predic8/membrane/examples/tests/validation/FormValidationTest.java
@@ -32,8 +32,8 @@ protected String getExampleDirName() {
@Test
public void test() throws Exception {
try(Process2 ignored = startServiceProxyScript()) {
- getAndAssert(400, "http://localhost:2000/?name=Abcde0");
- getAndAssert(200, "http://localhost:2000/?name=Abcde");
+ getAndAssert(400, "http://localhost:2000/?name=banana0");
+ getAndAssert(200, "http://localhost:2000/?name=banana");
}
}
}