mirror of
https://github.com/cydrobolt/polr.git
synced 2024-09-19 15:11:40 +02:00
fix unit test
This commit is contained in:
parent
64bbe2a420
commit
0ef7f85b1f
@ -18,6 +18,7 @@ class IndexTest extends TestCase
|
|||||||
public function testRequestGetNotExistShortUrl() {
|
public function testRequestGetNotExistShortUrl() {
|
||||||
$response = $this->call('GET', '/notexist');
|
$response = $this->call('GET', '/notexist');
|
||||||
$this->assertTrue($response->isRedirection());
|
$this->assertTrue($response->isRedirection());
|
||||||
$this->assertRedirectedTo(env('SETTING_NOT_EXIST_REDIRECT'));
|
$this->assertRedirectedTo(env('SETTING_INDEX_REDIRECT'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user