Was leaving a changed favicon leaving other test to fail.
$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')));
+ }
}
public function test_manifest_uses_configured_icons_if_existing()
{
+ $this->beforeApplicationDestroyed(fn() => $this->files->resetAppFavicon());
+
$resp = $this->get('/manifest.json');
$resp->assertJson([
'icons' => [[