changeset 863:09b03bd0ad00

HttpFiltersNodeDefinitionCreatorTest.testValidate bugfix
author Devel 2
date Wed, 24 Jan 2018 11:57:11 +0100
parents c189e87bfaaa
children 578688902d7c
files stress-tester/src/test/java/com/passus/st/client/http/filter/HttpFiltersNodeDefinitionCreatorTest.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stress-tester/src/test/java/com/passus/st/client/http/filter/HttpFiltersNodeDefinitionCreatorTest.java	Wed Jan 24 11:23:54 2018 +0100
+++ b/stress-tester/src/test/java/com/passus/st/client/http/filter/HttpFiltersNodeDefinitionCreatorTest.java	Wed Jan 24 11:57:11 2018 +0100
@@ -31,7 +31,7 @@
         NodeDefinition def = creator.create();
 
         Errors errors = new Errors();
-        def.validate(config.getRootNode(), errors, null);
+        def.validate(config.subConfiguration("httpFilters").getRootNode(), errors, null);
         errors.getAllErrors().forEach(System.out::println);
         assertEquals(0, errors.getErrorCount());
     }