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.
*/
$fileService->deleteFile($file);
}
}
+
+ /**
+ * Reset the application favicon image in the public path.
+ */
+ public function resetAppFavicon(): void
+ {
+ file_put_contents(public_path('favicon.ico'), file_get_contents(public_path('icon.ico')));
+ }
}