mirror of
https://github.com/cydrobolt/polr.git
synced 2024-11-12 21:22:28 +01:00
fix unit test
This commit is contained in:
parent
64bbe2a420
commit
0ef7f85b1f
@ -18,6 +18,7 @@ class IndexTest extends TestCase
|
||||
public function testRequestGetNotExistShortUrl() {
|
||||
$response = $this->call('GET', '/notexist');
|
||||
$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