Welcome to mirror list, hosted at ThFree Co, Russian Federation.

LinkControllerTest.php « tests - github.com/cydrobolt/polr.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d04c66d8543a86f2e5ae4f304dc098b1ad885859 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?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'));
    }
}