aboutsummaryrefslogtreecommitdiffstats
path: root/t/app
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2013-09-12 17:07:08 +0100
committerStruan Donald <struan@exo.org.uk>2013-09-12 17:07:08 +0100
commitd0d2c1d1549b4255eb3d852cc5a64319dccebd7e (patch)
tree93a561fed7363dbde34a29b46c77e15fdc8d05e4 /t/app
parent30bb1746b703a12d7ec3c698eea63ac9e1183037 (diff)
explicitly set bodies_str for abuse and app store tests
The first email count test in the abuse subtest was failing on Travis but not on my machine because the sent email alert test was running on my machine, as it has the mock module installed, and this was resetting the bodies_str to one with a confirmed contact. Setting bodies_str on both these tests stops this sort of thing happening again
Diffstat (limited to 't/app')
-rw-r--r--t/app/model/problem.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/app/model/problem.t b/t/app/model/problem.t
index c9fa1a6e3..156ad7fbb 100644
--- a/t/app/model/problem.t
+++ b/t/app/model/problem.t
@@ -642,6 +642,7 @@ subtest 'check iOS app store test reports not sent' => sub {
$problem->discard_changes;
$problem->update( {
+ bodies_str => 2651,
title => 'App store test',
state => 'confirmed',
confirmed => \'ms_current_timestamp()',
@@ -670,6 +671,7 @@ subtest 'check reports from abuser not sent' => sub {
$problem->discard_changes;
$problem->update( {
+ bodies_str => 2651,
title => 'Report',
state => 'confirmed',
confirmed => \'ms_current_timestamp()',