aboutsummaryrefslogtreecommitdiffstats
path: root/t/app
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-10-04 16:15:18 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-10-04 16:15:18 +0100
commitc358aa2beeb4637d190a91def6c7a4b23d162b51 (patch)
tree6019e1e9c362dd71dc6731e200ae7f6fc6fb20df /t/app
parent96bb52d449517b1018841e56e6008dedd03e6f3b (diff)
parenta123e7da22e9dbf8d98d15287526d070ab15bf15 (diff)
Merge branch 'test-warnings'
Diffstat (limited to 't/app')
-rw-r--r--t/app/controller/develop.t3
-rw-r--r--t/app/controller/root.t1
2 files changed, 3 insertions, 1 deletions
diff --git a/t/app/controller/develop.t b/t/app/controller/develop.t
index 8f26a9f16..7fde5ef83 100644
--- a/t/app/controller/develop.t
+++ b/t/app/controller/develop.t
@@ -1,5 +1,8 @@
use FixMyStreet::TestMech;
+FixMyStreet::App->log->disable('info');
+END { FixMyStreet::App->log->enable('info'); }
+
ok( my $mech = FixMyStreet::TestMech->new, 'Created mech object' );
my ($problem) = $mech->create_problems_for_body(1, 2504, 'title');
diff --git a/t/app/controller/root.t b/t/app/controller/root.t
index b5f8ba031..85119da24 100644
--- a/t/app/controller/root.t
+++ b/t/app/controller/root.t
@@ -75,7 +75,6 @@ FixMyStreet::override_config {
};
subtest "check_login_disallowed cobrand hook" => sub {
- warn '#' x 50 . "\n";
my $cobrand = Test::MockModule->new('FixMyStreet::Cobrand::Default');
$cobrand->mock('check_login_disallowed', sub {
my $self = shift;