From 655f44c0a1e09764a33175f6fbd65c4ab4f7b86a Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Sat, 28 Dec 2024 20:41:03 +0100 Subject: [PATCH] Apparently faked prompts can't run on Windows --- .../tests/Feature/Commands/PublishViewsCommandTest.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/framework/tests/Feature/Commands/PublishViewsCommandTest.php b/packages/framework/tests/Feature/Commands/PublishViewsCommandTest.php index 709e6e4f96d..f6bab0c5d0d 100644 --- a/packages/framework/tests/Feature/Commands/PublishViewsCommandTest.php +++ b/packages/framework/tests/Feature/Commands/PublishViewsCommandTest.php @@ -113,7 +113,9 @@ public function testInteractiveSelectionOnWindowsSystemsSkipsInteractiveness() public function testInteractiveSelectionOnUnixSystems() { - ConsoleHelper::mockWindowsOs(false); + if (windows_os()) { + $this->markTestSkipped('Test is not applicable on Windows systems.'); + } Prompt::fake([ Key::DOWN, Key::SPACE,