We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 596b2e9 commit daa1b7cCopy full SHA for daa1b7c
1 file changed
tests/system/HTTP/RedirectResponseTest.php
@@ -73,12 +73,12 @@ public function testRedirectRoute()
73
$this->assertTrue($response->hasHeader('Location'));
74
$this->assertSame('http://example.com/index.php/exampleRoute', $response->getHeaderLine('Location'));
75
76
- $this->routes->add('exampleRoute', 'Home::index', ['as' => 'home']);
+ $this->routes->add('exampleRoute2', 'Home::index', ['as' => 'home']);
77
78
$response->route('home');
79
80
81
- $this->assertSame('http://example.com/index.php/exampleRoute', $response->getHeaderLine('Location'));
+ $this->assertSame('http://example.com/index.php/exampleRoute2', $response->getHeaderLine('Location'));
82
}
83
84
public function testRedirectRouteBadNamedRoute()
0 commit comments