on master help sign in
make output test looser for request time
commitd0865f1dca8b21ae9a630f231e6276986777d7e5 authorGreg Weber <greg@gregweber.info> dateThu 7 Aug 2014, 08:07 (12 years ago) parent0d7b1b1
1 file changed+2−2
wai-extra/test/WaiExtraTest.hs+2−2
wai-extra/test/WaiExtraTest.hs+2−2
@@ -546,8 +546,8 @@ caseDebugRequestBody = do
546546 params = [("foo", "bar"), ("baz", "bin")]
547547 -- FIXME change back once we include post parameter output in logging postOutput = T.pack $ "POST \nAccept: \nPOST " ++ (show params)
548548 -- the time cannot be known, so match around it
549− postOutput = ("POST / :: \nStatus: 200 OK. 0.00", "s. /\n")
550− getOutput params' = ("GET /location :: \nGET " <> T.pack (show params') <> "\nStatus: 200 OK. 0.00", "s. /location\n")
549+ postOutput = ("POST / :: \nStatus: 200 OK. 0", "s. /\n")
550+ getOutput params' = ("GET /location :: \nGET " <> T.pack (show params') <> "\nStatus: 200 OK. 0", "s. /location\n")
551551
552552 debugApp (beginning, ending) req = do
553553 iactual <- liftIO $ I.newIORef mempty