aboutsummaryrefslogtreecommitdiffstats
path: root/t/open311
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2016-06-27 12:42:31 +0100
committerDave Arter <davea@mysociety.org>2016-06-27 12:42:31 +0100
commit4e40133f1344c271481fd5443f2a4a8e0e89aab9 (patch)
tree7a3351dbd77acaeb92f2f3d47614ed4d67413010 /t/open311
parentb920828d9bab39c1803cb255e217ddcf93cca988 (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 e13a34492..fa6c4b4b6 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 (