File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 55namespace Intervention \Image \Laravel ;
66
77use Illuminate \Http \Response ;
8- use Illuminate \Support \Facades \Response as ResponseFactory ;
98use Intervention \Image \Exceptions \DriverException ;
109use Intervention \Image \Exceptions \NotSupportedException ;
1110use Intervention \Image \Exceptions \RuntimeException ;
@@ -68,7 +67,7 @@ public static function make(
6867 */
6968 public function response (): Response
7069 {
71- return ResponseFactory:: make (
70+ return new Response (
7271 content: $ this ->content (),
7372 headers: $ this ->headers ()
7473 );
Original file line number Diff line number Diff line change 1212use Intervention \Image \ImageManager ;
1313use Intervention \Image \Laravel \ImageResponseFactory ;
1414use Intervention \Image \MediaType ;
15- use Orchestra \Testbench \Concerns \WithWorkbench ;
16- use Orchestra \Testbench \TestCase as TestBenchTestCase ;
15+ use PHPUnit \Framework \TestCase ;
1716
18- class ImageResponseFactoryTest extends TestBenchTestCase
17+ class ImageResponseFactoryTest extends TestCase
1918{
20- use WithWorkbench;
21-
2219 protected Image $ image ;
2320
2421 protected function setUp (): void
You can’t perform that action at this time.
0 commit comments