RequestTest.php 230 B

1234567891011
  1. <?php
  2. class RequestTest extends PHPUnit_Framework_TestCase {
  3. public function test_uri_method_returns_path_info_if_set()
  4. {
  5. $_SERVER['PATH_INFO'] = 'something';
  6. $this->assertEquals('something', Laravel\Request::uri());
  7. }
  8. }