diff options
author | Matthew Somerville <matthew@mysociety.org> | 2015-12-02 17:47:00 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2015-12-15 17:01:44 +0000 |
commit | 64d24b8627879fc68f9f883d6e24a9c7cb72449f (patch) | |
tree | 40eb0d4914ae79e7aa80451230b79d46f43acbe3 /t/app/controller/admin.t | |
parent | 41371ab59a1efa953ce5df8f46af9507a0d4e92b (diff) |
Secret always created as part of test run setup.
Diffstat (limited to 't/app/controller/admin.t')
-rw-r--r-- | t/app/controller/admin.t | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/t/app/controller/admin.t b/t/app/controller/admin.t index 96565e82b..07d72de96 100644 --- a/t/app/controller/admin.t +++ b/t/app/controller/admin.t @@ -6,14 +6,6 @@ use FixMyStreet::TestMech; my $mech = FixMyStreet::TestMech->new; -my $secret = FixMyStreet::App->model('DB::Secret')->search(); - -# don't explode if there's nothing in the secret table -if ( $secret == 0 ) { - diag "You need to put an entry in the secret table for the admin tests to run"; - plan skip_all => 'No entry in secret table'; -} - my $user = FixMyStreet::App->model('DB::User') ->find_or_create( { email => 'test@example.com', name => 'Test User' } ); |