removed provides functionality. need to explore doing this in a way that is more friendly to http, such as using the accept header.

This commit is contained in:
Taylor Otwell
2011-10-29 21:02:01 -05:00
parent a2aebdb03f
commit 866f5d8fc3
4 changed files with 33 additions and 82 deletions

View File

@@ -31,12 +31,6 @@ class RequestTest extends PHPUnit_Framework_TestCase {
$this->assertEquals('PUT', Laravel\Request::method());
}
public function test_format_method_returns_extension()
{
$this->assertEquals('html', Laravel\Request::format('user'));
$this->assertEquals('json', Laravel\Request::format('user.json'));
}
public function test_server_method_returns_from_the_server_array()
{
$_SERVER = array('TEST' => 'something', 'USER' => array('NAME' => 'taylor'));