]> BookStack Code Mirror - bookstack/blobdiff - tests/Helpers/FileProvider.php
respective book and chapter structure added.
[bookstack] / tests / Helpers / FileProvider.php
index 99ee11efbad8b355e136a794c9b2215b8b594e18..442e036ff245e4dda122b4d7a4bbbaf033293fd2 100644 (file)
@@ -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')));
+    }
 }