diff options
author | dgp <dgp@users.sourceforge.net> | 2018-11-09 19:05:44 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2018-11-09 19:05:44 (GMT) |
commit | bd29989aabaeadc5fb048cdf88c0448bbf658c57 (patch) | |
tree | 16fe8bfc0141f1d37a97833463c919f682b6d2c5 /tests/httpcookie.test | |
parent | 3416e2d194c938d244d1404cf02d9a4331b91ac3 (diff) | |
download | tcl-bd29989aabaeadc5fb048cdf88c0448bbf658c57.zip tcl-bd29989aabaeadc5fb048cdf88c0448bbf658c57.tar.gz tcl-bd29989aabaeadc5fb048cdf88c0448bbf658c57.tar.bz2 |
policyAllow is also a cookiejar method; make tests account for it.
Diffstat (limited to 'tests/httpcookie.test')
-rw-r--r-- | tests/httpcookie.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/httpcookie.test b/tests/httpcookie.test index ea29b57..0facb6a 100644 --- a/tests/httpcookie.test +++ b/tests/httpcookie.test @@ -194,14 +194,14 @@ test http-cookiejar-4.2 {cookie storage: instance} -setup { cookiejar ? } -returnCodes error -cleanup { ::cookiejar destroy -} -result {unknown method "?": must be destroy, forceLoadDomainData, getCookies, lookup or storeCookie} +} -result {unknown method "?": must be destroy, forceLoadDomainData, getCookies, lookup, policyAllow or storeCookie} test http-cookiejar-4.3 {cookie storage: instance} -setup { http::cookiejar create ::cookiejar } -constraints cookiejar -body { lsort [info object methods cookiejar -all] } -cleanup { ::cookiejar destroy -} -result {destroy forceLoadDomainData getCookies lookup storeCookie} +} -result {destroy forceLoadDomainData getCookies lookup policyAllow storeCookie} test http-cookiejar-4.4 {cookie storage: instance} -setup { http::cookiejar create ::cookiejar } -constraints cookiejar -body { |