Skip to content

Commit

Permalink
Merge pull request #1 from davejtoews/bugfix-image-mergeMatch
Browse files Browse the repository at this point in the history
Allows PopulateMergeMatch to run with Images
  • Loading branch information
davejtoews committed Sep 19, 2022
2 parents fca8c87 + f5a4ac9 commit 126e3bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/PopulateFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ private function populateFile($data)
$hash = $existingObj->File->getHash();

if (hash_equals($hash, sha1(file_get_contents($fixtureFilePath)))) {
return true;
return $file;
}
} else {
// Create instance of file data object based on the extension of the fixture file
Expand Down

0 comments on commit 126e3bc

Please sign in to comment.