aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/model
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/app/model
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/app/model')
-rw-r--r--t/app/model/photoset.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/model/photoset.t b/t/app/model/photoset.t
index 577e39eb1..f0fc601e2 100644
--- a/t/app/model/photoset.t
+++ b/t/app/model/photoset.t
@@ -58,7 +58,7 @@ subtest 'Photoset with photo inline in DB' => sub {
my $report = make_report( $image_path->slurp );
my $photoset = $report->get_photoset();
is $photoset->num_images, 1, 'Found just 1 image';
- is $photoset->data, '1cdd4329ceee2234bd4e89cb33b42061a0724687.jpeg';
+ is $photoset->data, '7f09ef2c3933731d47121fee1b8038b3fdd3bc77.jpeg';
};
$image_path->copy( path( $UPLOAD_DIR, '0123456789012345678901234567890123456789.jpeg' ) );