Fix tests after updating from develop, changes applied for migrating to Spring Boot 2

This commit is contained in:
Nanne Baars
2019-09-23 17:35:04 +02:00
parent 35c1305ce9
commit dad9c75ee0
8 changed files with 10 additions and 9 deletions

View File

@ -74,6 +74,7 @@ public class XXETest extends IntegrationTest {
.get(webWolfUrl("/WebWolf/requests"))
.then()
.extract().response().getBody().asString();
result = result.replace("%20", " ");
result = result.substring(result.lastIndexOf("WebGoat 8.0 rocks... ("),result.lastIndexOf("WebGoat 8.0 rocks... (")+33);
return result;
}