Skip to content

Commit

Permalink
Fixed ImageIntegrationTest to account for hashes (#3133)
Browse files Browse the repository at this point in the history
  • Loading branch information
barw4 authored Jan 18, 2022
1 parent 04451df commit e212c8a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -614,8 +614,8 @@ protected function getValidSearchValueOne()
{
return new ImageValue(
[
'fileName' => 'cafe-terrace-at-night.jpg',
'inputUri' => ($path = __DIR__ . '/_fixtures/image.jpg'),
'fileName' => '1234eeee1234-cafe-terrace-at-night.jpg',
'inputUri' => ($path = __DIR__ . '/_fixtures/1234eeee1234-image.jpg'),
'alternativeText' => 'café terrace at night, also known as the cafe terrace on the place du forum',
'fileSize' => filesize($path),
]
Expand All @@ -626,8 +626,8 @@ protected function getValidSearchValueTwo()
{
return new ImageValue(
[
'fileName' => 'thatched-cottages-at-cordeville.png',
'inputUri' => ($path = __DIR__ . '/_fixtures/image.png'),
'fileName' => '2222eeee1111-thatched-cottages-at-cordeville.png',
'inputUri' => ($path = __DIR__ . '/_fixtures/2222eeee1111-image.png'),
'alternativeText' => 'chaumes de cordeville à auvers-sur-oise',
'fileSize' => filesize($path),
]
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e212c8a

Please sign in to comment.