aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-05-13 12:40:38 +0100
committerMatthew Somerville <matthew@mysociety.org>2013-05-13 12:40:38 +0100
commitd85a86711c2b3e7b670da2043b8e8cbc99fece0a (patch)
tree817cfe3c006acb5e19750a21a527e5f9bf66eec4
parentd290d52f48a167131cab3bdc6844888ed824d7fe (diff)
Fix test as M tokens now not deleted.
-rw-r--r--t/app/controller/auth.t7
1 files changed, 1 insertions, 6 deletions
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