aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/admin.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2015-01-20 13:05:42 +0000
committerMatthew Somerville <matthew@mysociety.org>2015-01-20 13:10:52 +0000
commit18ab1363f57e5db40a1103c1c89cb423de1b5274 (patch)
tree58dc3106a18f8c3d49c3f484fced9b2d419226bd /t/app/controller/admin.t
parentc4d726bacd492bd4281b9eddbdc29d3190444d3c (diff)
Add tests for admin message, cobrand email alert.
Diffstat (limited to 't/app/controller/admin.t')
-rw-r--r--t/app/controller/admin.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/app/controller/admin.t b/t/app/controller/admin.t
index 58d7e0e96..f63a72117 100644
--- a/t/app/controller/admin.t
+++ b/t/app/controller/admin.t
@@ -266,7 +266,7 @@ subtest 'check open311 configuring' => sub {
}
);
$mech->content_contains('Council contacts configured via Open311');
- $mech->content_contains('Configuration updated - contacts will be generated automatically later');
+ $mech->content_contains('Values updated');
my $conf = FixMyStreet::App->model('DB::Body')->find( $body->id );
is $conf->endpoint, 'http://example.com/open311', 'endpoint configured';
@@ -286,7 +286,7 @@ subtest 'check open311 configuring' => sub {
}
);
- $mech->content_contains('Configuration updated');
+ $mech->content_contains('Values updated');
$conf = FixMyStreet::App->model('DB::Body')->find( $body->id );
is $conf->endpoint, 'http://example.org/open311', 'endpoint updated';