@@ -28,7 +28,7 @@ protected function setUp(): void
2828 public function testHydeServeCommand ()
2929 {
3030 $ this ->artisan ('serve --no-ansi ' )
31- ->expectsOutput ('Starting the HydeRC server... Press Ctrl+C to stop ' )
31+ ->expectsOutput ('Starting the HydeRC server... Use Ctrl+C to stop ' )
3232 ->assertExitCode (0 );
3333
3434 Process::assertRan ("php -S localhost:8080 {$ this ->binaryPath ()}" );
@@ -37,7 +37,7 @@ public function testHydeServeCommand()
3737 public function testHydeServeCommandWithPortOption ()
3838 {
3939 $ this ->artisan ('serve --no-ansi --port=8081 ' )
40- ->expectsOutput ('Starting the HydeRC server... Press Ctrl+C to stop ' )
40+ ->expectsOutput ('Starting the HydeRC server... Use Ctrl+C to stop ' )
4141 ->assertExitCode (0 );
4242
4343 Process::assertRan ("php -S localhost:8081 {$ this ->binaryPath ()}" );
@@ -46,7 +46,7 @@ public function testHydeServeCommandWithPortOption()
4646 public function testHydeServeCommandWithHostOption ()
4747 {
4848 $ this ->artisan ('serve --no-ansi --host=foo ' )
49- ->expectsOutput ('Starting the HydeRC server... Press Ctrl+C to stop ' )
49+ ->expectsOutput ('Starting the HydeRC server... Use Ctrl+C to stop ' )
5050 ->assertExitCode (0 );
5151
5252 Process::assertRan ("php -S foo:8080 {$ this ->binaryPath ()}" );
@@ -55,7 +55,7 @@ public function testHydeServeCommandWithHostOption()
5555 public function testHydeServeCommandWithPortAndHostOption ()
5656 {
5757 $ this ->artisan ('serve --no-ansi --port=8081 --host=foo ' )
58- ->expectsOutput ('Starting the HydeRC server... Press Ctrl+C to stop ' )
58+ ->expectsOutput ('Starting the HydeRC server... Use Ctrl+C to stop ' )
5959 ->assertExitCode (0 );
6060
6161 Process::assertRan ("php -S foo:8081 {$ this ->binaryPath ()}" );
@@ -66,7 +66,7 @@ public function testHydeServeCommandWithPortDefinedInConfig()
6666 config (['hyde.server.port ' => 8081 ]);
6767
6868 $ this ->artisan ('serve --no-ansi ' )
69- ->expectsOutput ('Starting the HydeRC server... Press Ctrl+C to stop ' )
69+ ->expectsOutput ('Starting the HydeRC server... Use Ctrl+C to stop ' )
7070 ->assertExitCode (0 );
7171
7272 Process::assertRan ("php -S localhost:8081 {$ this ->binaryPath ()}" );
@@ -77,7 +77,7 @@ public function testHydeServeCommandWithPortDefinedInConfigAndPortOption()
7777 config (['hyde.server.port ' => 8081 ]);
7878
7979 $ this ->artisan ('serve --no-ansi --port=8082 ' )
80- ->expectsOutput ('Starting the HydeRC server... Press Ctrl+C to stop ' )
80+ ->expectsOutput ('Starting the HydeRC server... Use Ctrl+C to stop ' )
8181 ->assertExitCode (0 );
8282
8383 Process::assertRan ("php -S localhost:8082 {$ this ->binaryPath ()}" );
@@ -88,7 +88,7 @@ public function testHydeServeCommandWithPortMissingInConfigAndPortOption()
8888 config (['hyde.server.port ' => null ]);
8989
9090 $ this ->artisan ('serve --no-ansi --port=8081 ' )
91- ->expectsOutput ('Starting the HydeRC server... Press Ctrl+C to stop ' )
91+ ->expectsOutput ('Starting the HydeRC server... Use Ctrl+C to stop ' )
9292 ->assertExitCode (0 );
9393
9494 Process::assertRan ("php -S localhost:8081 {$ this ->binaryPath ()}" );
@@ -99,7 +99,7 @@ public function testHydeServeCommandWithHostDefinedInConfig()
9999 config (['hyde.server.host ' => 'foo ' ]);
100100
101101 $ this ->artisan ('serve --no-ansi ' )
102- ->expectsOutput ('Starting the HydeRC server... Press Ctrl+C to stop ' )
102+ ->expectsOutput ('Starting the HydeRC server... Use Ctrl+C to stop ' )
103103 ->assertExitCode (0 );
104104
105105 Process::assertRan ("php -S foo:8080 {$ this ->binaryPath ()}" );
@@ -110,7 +110,7 @@ public function testHydeServeCommandWithHostDefinedInConfigAndHostOption()
110110 config (['hyde.server.host ' => 'foo ' ]);
111111
112112 $ this ->artisan ('serve --no-ansi --host=bar ' )
113- ->expectsOutput ('Starting the HydeRC server... Press Ctrl+C to stop ' )
113+ ->expectsOutput ('Starting the HydeRC server... Use Ctrl+C to stop ' )
114114 ->assertExitCode (0 );
115115
116116 Process::assertRan ("php -S bar:8080 {$ this ->binaryPath ()}" );
@@ -121,7 +121,7 @@ public function testHydeServeCommandWithHostMissingInConfigAndHostOption()
121121 config (['hyde.server.host ' => null ]);
122122
123123 $ this ->artisan ('serve --no-ansi --host=foo ' )
124- ->expectsOutput ('Starting the HydeRC server... Press Ctrl+C to stop ' )
124+ ->expectsOutput ('Starting the HydeRC server... Use Ctrl+C to stop ' )
125125 ->assertExitCode (0 );
126126
127127 Process::assertRan ("php -S foo:8080 {$ this ->binaryPath ()}" );
@@ -133,7 +133,7 @@ public function testHydeServeCommandWithInvalidConfigValue()
133133 config (['hyde.server.port ' => 'foo ' ]);
134134
135135 $ this ->artisan ('serve --no-ansi ' )
136- ->expectsOutput ('Starting the HydeRC server... Press Ctrl+C to stop ' )
136+ ->expectsOutput ('Starting the HydeRC server... Use Ctrl+C to stop ' )
137137 ->assertExitCode (0 );
138138 }
139139
@@ -164,7 +164,7 @@ public function testHydeServeCommandPassesThroughProcessOutput()
164164 ->andReturn ($ mockProcess );
165165
166166 $ this ->artisan ('serve --no-ansi ' )
167- ->expectsOutput ('Starting the HydeRC server... Press Ctrl+C to stop ' )
167+ ->expectsOutput ('Starting the HydeRC server... Use Ctrl+C to stop ' )
168168 ->expectsOutput ('foo ' )
169169 ->assertExitCode (0 );
170170 }
@@ -220,7 +220,7 @@ public function testHydeServeCommandWithViteOption()
220220 ->andReturn ($ mockServerProcess );
221221
222222 $ this ->artisan ('serve --no-ansi --vite ' )
223- ->expectsOutput ('Starting the HydeRC server... Press Ctrl+C to stop ' )
223+ ->expectsOutput ('Starting the HydeRC server... Use Ctrl+C to stop ' )
224224 ->expectsOutput ('server output ' )
225225 ->expectsOutput ('vite latest output ' )
226226 ->assertExitCode (0 );
@@ -261,7 +261,7 @@ public function testHydeServeCommandWithViteOptionButViteNotRunning()
261261 ->andReturn ($ mockServerProcess );
262262
263263 $ this ->artisan ('serve --no-ansi --vite ' )
264- ->expectsOutput ('Starting the HydeRC server... Press Ctrl+C to stop ' )
264+ ->expectsOutput ('Starting the HydeRC server... Use Ctrl+C to stop ' )
265265 ->assertExitCode (0 );
266266 }
267267
0 commit comments