getPrefixSystem() public static method

public static getPrefixSystem ( ) : string
return string
Example #1
0
 /**
  * @test
  * @dataProvider malformedSlashes
  * @param string $broken
  * @param string $good
  */
 public function shouldReplaceTwoBackSlashes($broken, $good)
 {
     //given
     $this->_path(Config::getPrefixSystem() . $broken);
     //when
     $path = $this->uri->getPathWithoutPrefix();
     //then
     $this->assertEquals($good, $path);
 }
Example #2
0
 /**
  * @test
  */
 public function shouldConstructUrlForAddress()
 {
     $url = url(array('string' => '/users/show'));
     $this->assertEquals(Config::getPrefixSystem() . '/users/show', $url);
 }