diff --git a/test/tests/ScenarioPatcherTests.cpp b/test/tests/ScenarioPatcherTests.cpp index 13d5da180e..0fee8d753a 100644 --- a/test/tests/ScenarioPatcherTests.cpp +++ b/test/tests/ScenarioPatcherTests.cpp @@ -11,6 +11,7 @@ #include #include +#include #include #include #include @@ -22,6 +23,9 @@ */ TEST(FetchAndApplyScenarioPatch, expected_json_format) { + // Needs to be headless and without graphics not to prompt for RCT2 path + gOpenRCT2Headless = true; + gOpenRCT2NoGraphics = true; auto context = OpenRCT2::CreateContext(); bool initialised = context->Initialise(); ASSERT_TRUE(initialised);