Skip to content

Commit

Permalink
Merge branch 'master' into #1297-bootup-api-info
Browse files Browse the repository at this point in the history
  • Loading branch information
t-burch authored Nov 5, 2024
2 parents 3d6ea17 + 5cbea03 commit f248c7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion distribution/examples/validation/form/proxies.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<formValidation>
<field name="name" regex="[a-zA-Z]+" />
</formValidation>
<target host="www.thomas-bayer.com" />
<target url="https://api.predic8.de/shop/v2/products" />
</serviceProxy>

</router>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
}
}

0 comments on commit f248c7c

Please sign in to comment.