changeset 438:f9315df8d81f

unit test fixed
author Devel 1
date Thu, 27 Jul 2017 16:00:31 +0200
parents c5911cf740de
children 83d627ad7e47
files stress-tester/src/test/java/com/passus/st/client/http/filter/HttpFilterChainTest.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/stress-tester/src/test/java/com/passus/st/client/http/filter/HttpFilterChainTest.java	Thu Jul 27 15:50:59 2017 +0200
+++ b/stress-tester/src/test/java/com/passus/st/client/http/filter/HttpFilterChainTest.java	Thu Jul 27 16:00:31 2017 +0200
@@ -80,13 +80,13 @@
 
         assertChainResult(ACCEPT, filterChain(fAccept(), fAccept()));
         assertChainResult(ACCEPT, filterChain(fAccept(), fDunno()));
-        assertChainResult(ACCEPT, DENY, filterChain(fAccept(), fDeny()));
+        assertChainResult(ACCEPT, ACCEPT, filterChain(fAccept(), fDeny()));
 
         assertChainResult(ACCEPT, filterChain(fDunno(), fAccept()));
         assertChainResult(ACCEPT, filterChain(fDunno(), fDunno()));
         assertChainResult(DENY, filterChain(fDunno(), fDeny()));
 
-        assertChainResult(DENY, ACCEPT, filterChain(fDeny(), fAccept()));
+        assertChainResult(DENY, DENY, filterChain(fDeny(), fAccept()));
         assertChainResult(DENY, filterChain(fDeny(), fDunno()));
         assertChainResult(DENY, filterChain(fDeny(), fDeny()));
     }