File tree 2 files changed +3
-7
lines changed
2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 5
5
namespace Intervention \Image \Laravel ;
6
6
7
7
use Illuminate \Http \Response ;
8
- use Illuminate \Support \Facades \Response as ResponseFactory ;
9
8
use Intervention \Image \Exceptions \DriverException ;
10
9
use Intervention \Image \Exceptions \NotSupportedException ;
11
10
use Intervention \Image \Exceptions \RuntimeException ;
@@ -68,7 +67,7 @@ public static function make(
68
67
*/
69
68
public function response (): Response
70
69
{
71
- return ResponseFactory:: make (
70
+ return new Response (
72
71
content: $ this ->content (),
73
72
headers: $ this ->headers ()
74
73
);
Original file line number Diff line number Diff line change 12
12
use Intervention \Image \ImageManager ;
13
13
use Intervention \Image \Laravel \ImageResponseFactory ;
14
14
use Intervention \Image \MediaType ;
15
- use Orchestra \Testbench \Concerns \WithWorkbench ;
16
- use Orchestra \Testbench \TestCase as TestBenchTestCase ;
15
+ use PHPUnit \Framework \TestCase ;
17
16
18
- class ImageResponseFactoryTest extends TestBenchTestCase
17
+ class ImageResponseFactoryTest extends TestCase
19
18
{
20
- use WithWorkbench;
21
-
22
19
protected Image $ image ;
23
20
24
21
protected function setUp (): void
You can’t perform that action at this time.
0 commit comments