aboutsummaryrefslogtreecommitdiffstats
path: root/t/open311
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2016-06-27 12:42:31 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-07-06 13:04:13 +0100
commita060d03f36275f1fae1c041cca813bddeef6287c (patch)
treec983573df4759c1a37397c6d5de870167116a627 /t/open311
parentcb6e7350bdc42e4d329ed1dcc05c074bca697384 (diff)
Use valid orientation flag for test image
jhead 3.00 considers 0 an invalid value for EXIF orientation and will replace it with 1 when run with the -autorot flag. This was causing a test failure as the SHA hash of the sample image was being changed.
Diffstat (limited to 't/open311')
-rw-r--r--t/open311/getservicerequestupdates.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/open311/getservicerequestupdates.t b/t/open311/getservicerequestupdates.t
index 134d5422e..4afac7182 100644
--- a/t/open311/getservicerequestupdates.t
+++ b/t/open311/getservicerequestupdates.t
@@ -388,7 +388,7 @@ subtest 'Update with media_url includes image in update' => sub {
is $problem->comments->count, 1, 'comment count';
my $c = $problem->comments->first;
is $c->external_id, 638344;
- is $c->photo, '1cdd4329ceee2234bd4e89cb33b42061a0724687.jpeg', 'photo exists';
+ is $c->photo, '7f09ef2c3933731d47121fee1b8038b3fdd3bc77.jpeg', 'photo exists';
};
foreach my $test (