File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
packages/framework/tests/Feature/Commands Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,9 @@ public function testInteractiveSelectionOnWindowsSystemsSkipsInteractiveness()
113113
114114 public function testInteractiveSelectionOnUnixSystems ()
115115 {
116- ConsoleHelper::mockWindowsOs (false );
116+ if (windows_os ()) {
117+ $ this ->markTestSkipped ('Test is not applicable on Windows systems. ' );
118+ }
117119
118120 Prompt::fake ([
119121 Key::DOWN , Key::SPACE ,
@@ -142,7 +144,9 @@ public function testInteractiveSelectionOnUnixSystems()
142144
143145 public function testInteractiveSelectionWithHittingEnterRightAway ()
144146 {
145- ConsoleHelper::mockWindowsOs (false );
147+ if (windows_os ()) {
148+ $ this ->markTestSkipped ('Test is not applicable on Windows systems. ' );
149+ }
146150
147151 Prompt::fake ([
148152 Key::ENTER ,
@@ -167,7 +171,9 @@ public function testInteractiveSelectionWithHittingEnterRightAway()
167171
168172 public function testInteractiveSelectionWithComplexToggles ()
169173 {
170- ConsoleHelper::mockWindowsOs (false );
174+ if (windows_os ()) {
175+ $ this ->markTestSkipped ('Test is not applicable on Windows systems. ' );
176+ }
171177
172178 Prompt::fake ([
173179 // Select "all files"
You can’t perform that action at this time.
0 commit comments