X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/2e2272343bbd002eac3ceb8b0df2e004e532d541..refs/pull/5689/head:/tests/Helpers/FileProvider.php diff --git a/tests/Helpers/FileProvider.php b/tests/Helpers/FileProvider.php index 442e036ff..a455e0fb4 100644 --- a/tests/Helpers/FileProvider.php +++ b/tests/Helpers/FileProvider.php @@ -60,6 +60,14 @@ class FileProvider return file_get_contents($this->testFilePath('test-image.png')); } + /** + * Get raw data for a Jpeg image test file. + */ + public function jpegImageData(): string + { + return file_get_contents($this->testFilePath('test-image.jpg')); + } + /** * Get the expected relative path for an uploaded image of the given type and filename. */