mirror of
https://github.com/cydrobolt/polr.git
synced 2024-11-10 04:02:28 +01:00
16 lines
358 B
PHP
16 lines
358 B
PHP
<?php
|
|
|
|
class LinkControllerTest extends TestCase
|
|
{
|
|
/**
|
|
* Test LinkController
|
|
*
|
|
* @return void
|
|
*/
|
|
public function testRequestGetNotExistShortUrl() {
|
|
$response = $this->call('GET', '/notexist');
|
|
$this->assertTrue($response->isRedirection());
|
|
$this->assertRedirectedTo(env('SETTING_INDEX_REDIRECT'));
|
|
}
|
|
}
|