File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -21,25 +21,25 @@ public function eventName(): string
2121
2222it ('returns a Response instance ' , function () {
2323 $ response = $ this ->hook ->response ();
24-
24+
2525 expect ($ response )->toBeInstanceOf (Response::class);
2626});
2727
2828it ('returns the same Response instance on multiple calls ' , function () {
2929 $ response1 = $ this ->hook ->response ();
3030 $ response2 = $ this ->hook ->response ();
31-
31+
3232 expect ($ response1 )->toBe ($ response2 );
3333});
3434
3535it ('creates a new Response instance on first call ' , function () {
3636 $ reflection = new ReflectionClass ($ this ->hook );
3737 $ property = $ reflection ->getProperty ('responseInstance ' );
3838 $ property ->setAccessible (true );
39-
39+
4040 expect ($ property ->getValue ($ this ->hook ))->toBeNull ();
41-
41+
4242 $ response = $ this ->hook ->response ();
43-
43+
4444 expect ($ property ->getValue ($ this ->hook ))->toBe ($ response );
45- });
45+ });
You can’t perform that action at this time.
0 commit comments