|
121 | 121 | $this->artisan(ConfigCommand::class, [ |
122 | 122 | 'action' => 'edit', |
123 | 123 | ]); |
124 | | -})->group(__DIR__, __FILE__)->throws(RuntimeException::class, 'No editor found or specified.'); |
| 124 | +}) |
| 125 | + ->group(__DIR__, __FILE__) |
| 126 | + ->skip(windows_os()) |
| 127 | + ->throws(RuntimeException::class, 'No editor found or specified.'); |
125 | 128 |
|
126 | 129 | it('will throw \SymfonyRuntimeException for edit config', function (): void { |
127 | 130 | $this->getFunctionMock(class_namespace(Process::class), 'proc_open') |
|
132 | 135 | 'action' => 'edit', |
133 | 136 | '--editor' => 'foo', |
134 | 137 | ]); |
135 | | -})->skip()->group(__DIR__, __FILE__)->throws(SymfonyRuntimeException::class, 'TTY mode requires /dev/tty to be read/writable.'); |
| 138 | +}) |
| 139 | + ->group(__DIR__, __FILE__) |
| 140 | + ->skip() |
| 141 | + ->throws(SymfonyRuntimeException::class, 'TTY mode requires /dev/tty to be read/writable.'); |
136 | 142 |
|
137 | 143 | it('will throw SymfonyRuntimeException for edit config', function (): void { |
138 | 144 | $this->getFunctionMock(class_namespace(ConfigCommand::class), 'exec') |
|
146 | 152 | $this->artisan(ConfigCommand::class, [ |
147 | 153 | 'action' => 'edit', |
148 | 154 | ]); |
149 | | -})->group(__DIR__, __FILE__)->throws(SymfonyRuntimeException::class, 'TTY mode requires /dev/tty to be read/writable.'); |
| 155 | +}) |
| 156 | + ->group(__DIR__, __FILE__) |
| 157 | + ->skip(windows_os()) |
| 158 | + ->throws(SymfonyRuntimeException::class, 'TTY mode requires /dev/tty to be read/writable.'); |
150 | 159 |
|
151 | 160 | it('will throw UnsupportedConfigActionException', function (): void { |
152 | 161 | $this->artisan(ConfigCommand::class, [ |
|
0 commit comments