aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/auth.t
diff options
context:
space:
mode:
Diffstat (limited to 't/app/controller/auth.t')
-rw-r--r--t/app/controller/auth.t8
1 files changed, 3 insertions, 5 deletions
diff --git a/t/app/controller/auth.t b/t/app/controller/auth.t
index 1a16457f9..fef45ac90 100644
--- a/t/app/controller/auth.t
+++ b/t/app/controller/auth.t
@@ -197,12 +197,10 @@ foreach my $remember_me ( '1', '0' ) {
);
is $mech->uri->path, '/my', "redirected to correct page";
- # check that the cookie has no expiry set
my $expiry = $mech->session_cookie_expiry;
- is( $expiry, 0, "no expiry time" );
- #$remember_me
- # ? cmp_ok( $expiry, '>', 86400, "long 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;