@@ -124,6 +124,7 @@ public function test_static_file_can_be_served(): void
124124 /** @doesNotPerformAssertions @test */
125125 public function test_static_file_headers_can_be_sent (): void
126126 {
127+ $ this ->createApplication ();
127128 $ client = new SwooleClient ;
128129
129130 $ request = Request::create ('/foo.txt ' , 'GET ' );
@@ -206,6 +207,7 @@ public function test_respond_method_sends_response_to_swoole(): void
206207 /** @doesNotPerformAssertions @test */
207208 public function test_respond_method_send_streamed_response_to_swoole (): void
208209 {
210+ $ this ->createApplication ();
209211 $ client = new SwooleClient ;
210212
211213 $ swooleResponse = Mockery::mock ('Swoole\Http\Response ' );
@@ -227,6 +229,7 @@ public function test_respond_method_send_streamed_response_to_swoole(): void
227229 /** @doesNotPerformAssertions @test */
228230 public function test_respond_method_with_laravel_specific_status_code_sends_response_to_swoole (): void
229231 {
232+ $ this ->createApplication ();
230233 $ client = new SwooleClient ;
231234
232235 $ swooleResponse = Mockery::mock ('Swoole\Http\Response ' );
@@ -286,6 +289,7 @@ public function test_error_method_sends_detailed_error_response_to_swoole_in_deb
286289 /** @doesNotPerformAssertions @test */
287290 public function test_respond_method_send_not_chunked_response_to_swoole (): void
288291 {
292+ $ this ->createApplication ();
289293 $ client = new SwooleClient ;
290294
291295 $ swooleResponse = Mockery::mock (SwooleResponse::class);
@@ -307,6 +311,7 @@ public function test_respond_method_send_not_chunked_response_to_swoole(): void
307311 /** @doesNotPerformAssertions @test */
308312 public function test_respond_method_send_chunked_response_to_swoole (): void
309313 {
314+ $ this ->createApplication ();
310315 $ client = new SwooleClient (6 );
311316
312317 $ swooleResponse = Mockery::mock ('Swoole\Http\Response ' );
0 commit comments