aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/auth.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-06-09 23:00:31 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-06-09 23:00:31 +0100
commit7e844f25b99b1b2b76526a0490b5b9dea00b71df (patch)
tree2e6c77d127719369de9bbb358d0af898fe3c65cf /t/app/controller/auth.t
parent0c60b1449ce5f99e7ce6c6cd3a15b9578a833aa2 (diff)
Fix session cookie test, and test based on contact_name that might change.
Diffstat (limited to 't/app/controller/auth.t')
-rw-r--r--t/app/controller/auth.t7
1 files changed, 4 insertions, 3 deletions
diff --git a/t/app/controller/auth.t b/t/app/controller/auth.t
index 9a466832b..a44716a1e 100644
--- a/t/app/controller/auth.t
+++ b/t/app/controller/auth.t
@@ -197,9 +197,10 @@ foreach my $remember_me ( '1', '0' ) {
# check that the cookie has no expiry set
my $expiry = $mech->session_cookie_expiry;
- $remember_me
- ? cmp_ok( $expiry, '>', 86400, "long expiry time" )
- : is( $expiry, 0, "no expiry time" );
+ is( $expiry, 0, "no expiry time" );
+ #$remember_me
+ # ? cmp_ok( $expiry, '>', 86400, "long expiry time" )
+ # : is( $expiry, 0, "no expiry time" );
# logout
$mech->log_out_ok;