added request tests.
This commit is contained in:
11
tests/Cases/RequestTest.php
Normal file
11
tests/Cases/RequestTest.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
class RequestTest extends PHPUnit_Framework_TestCase {
|
||||
|
||||
public function test_uri_method_returns_path_info_if_set()
|
||||
{
|
||||
$_SERVER['PATH_INFO'] = 'something';
|
||||
$this->assertEquals('something', Laravel\Request::uri());
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user