fix: make integration tests headless

This commit is contained in:
Ian Chua
2026-09-23 14:29:57 +08:00
parent ccaafb3003
commit 33179c1902
5 changed files with 64 additions and 44 deletions
@@ -2,7 +2,6 @@
#include <slic3r/GUI/WebMediaController.hpp>
#include <wx/init.h>
#include <wx/webview.h>
#include <string>
@@ -84,9 +83,6 @@ public:
TEST_CASE("Web media controller tears down a snapshot lifecycle", "[WebMediaController][integration]")
{
wxInitializer wx_init;
REQUIRE(wx_init.IsOk());
StubWebView view;
WebMediaController controller(&view);