From d85a86711c2b3e7b670da2043b8e8cbc99fece0a Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Mon, 13 May 2013 12:40:38 +0100 Subject: Fix test as M tokens now not deleted. --- t/app/controller/auth.t | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 't/app/controller/auth.t') diff --git a/t/app/controller/auth.t b/t/app/controller/auth.t index 8d7bfbf4d..3d52c0925 100644 --- a/t/app/controller/auth.t +++ b/t/app/controller/auth.t @@ -91,13 +91,8 @@ $mech->not_logged_in_ok; is $mech->uri->path, '/my', "redirected to the 'my' section of site"; $mech->logged_in_ok; - # logout and try to use the token again + # logout $mech->log_out_ok; - $mech->get_ok($link); - is $mech->uri, $link, "not logged in"; - $mech->content_contains( 'too old or already used', - 'token now invalid' ); - $mech->not_logged_in_ok; } # get a sign in email and change password -- cgit v1.2.3