aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/tokens.t
diff options
context:
space:
mode:
authorEdmund von der Burg <evdb@mysociety.org>2011-03-28 14:21:56 +0100
committerEdmund von der Burg <evdb@mysociety.org>2011-03-28 14:21:56 +0100
commit9942c5c59ab28d0441ea5ba49a7bd426f17e45c3 (patch)
tree95449ac8b6e0f7069bdb7aa73c71ad1b1fbdf85d /t/app/controller/tokens.t
parent632dd7b8e84faa4bcb19401678565751677729cc (diff)
Handle problem confirmation tokens in catalyst and get all tests working
Diffstat (limited to 't/app/controller/tokens.t')
-rw-r--r--t/app/controller/tokens.t10
1 files changed, 10 insertions, 0 deletions
diff --git a/t/app/controller/tokens.t b/t/app/controller/tokens.t
new file mode 100644
index 000000000..eec1b0d35
--- /dev/null
+++ b/t/app/controller/tokens.t
@@ -0,0 +1,10 @@
+use strict;
+use warnings;
+use Test::More;
+
+
+use Catalyst::Test 'FixMyStreet::App';
+use FixMyStreet::App::Controller::Tokens;
+
+ok( request('/tokens')->is_success, 'Request should succeed' );
+done_testing();