mirror of
https://github.com/cydrobolt/polr.git
synced 2024-11-09 19:52: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'));
|
|
}
|
|
}
|