File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -177,10 +177,4 @@ public function getIlluminateResponse()
177177 {
178178 return $ this ->illuminateResponse ;
179179 }
180-
181- // test only
182- public function getResponseClass ()
183- {
184- return get_class ($ this ->illuminateResponse );
185- }
186180}
Original file line number Diff line number Diff line change @@ -19,9 +19,9 @@ public function testMake()
1919 public function testGetIlluminateResponse ()
2020 {
2121 $ response = Response::make (new IlluminateResponse , new SwooleResponse );
22- $ this ->assertSame (IlluminateResponse::class, $ response ->getResponseClass ());
23- // $illuminateResponse = $response->getIlluminateResponse();
22+ $ illuminateResponse = $ response ->getIlluminateResponse ();
2423
24+ $ this ->assertSame (IlluminateResponse::class, get_class ($ illuminateResponse ));
2525 // $this->assertInstanceOf(IlluminateResponse::class, $illuminateResponse);
2626 }
2727
You can’t perform that action at this time.
0 commit comments