Skip to content

Commit e659526

Browse files
authored
Merge pull request #56 from jrhenderson1988/fix-assert-redirected-to
Assert response is Symfony RedirectResponse in assertRedirectedTo
2 parents 66fe208 + 96f9c2d commit e659526

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Concerns/MakesHttpRequests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ public function assertViewMissing($key)
819819
*/
820820
public function assertRedirectedTo($uri, $with = [])
821821
{
822-
PHPUnit::assertInstanceOf('Illuminate\Http\RedirectResponse', $this->response);
822+
PHPUnit::assertInstanceOf('Symfony\Component\HttpFoundation\RedirectResponse', $this->response);
823823

824824
PHPUnit::assertEquals($this->app['url']->to($uri), $this->response->headers->get('Location'));
825825

0 commit comments

Comments
 (0)