X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/97274a81401bc17ae3e79e77c7475f25a3193412..refs/pull/5280/head:/tests/Helpers/FileProvider.php diff --git a/tests/Helpers/FileProvider.php b/tests/Helpers/FileProvider.php index 99ee11efb..442e036ff 100644 --- a/tests/Helpers/FileProvider.php +++ b/tests/Helpers/FileProvider.php @@ -159,4 +159,12 @@ class FileProvider $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'))); + } }