tests/Http/RequestTest.php
/**
     * Checks proper formatting and generation of specific path with queries.
     */
Checks proper formatting and generation of specific path with queries.
Checks proper formatting and generation of specific path with queries .
public function testFullUrlWithPath()
    {
        $this->assertEquals('https://example.com/test?test=1', $this->request->fullUrl('test?test=1'));
        $this->assertEquals('https://example.com/test?test=1', $this->request->fullUrl('/test?test=1'));
    }
public function testFullUrlWithPath ( ) { $ this -> assertEquals ( 'https://example.com/test?test=1' , $ this -> request -> fullUrl ( 'test?test=1' ) ) ; $ this -> assertEquals ( 'https://example.com/test?test=1' , $ this -> request -> fullUrl ( '/test?test=1' ) ) ; }
Checks proper formatting and generation of specific path with queries.
Checks proper formatting and generation of specific path with queries .