Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
weierophinney committed Aug 19, 2013
1 parent 9e77917 commit b0cc93d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/RequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,16 @@ public function testRequestIsFlashRequest()
$this->assertTrue($request->isFlashRequest());
}

/**
* @group 4893
*/
public function testRequestsWithoutHttpVersionAreOK()
{
$requestString = "GET http://www.domain.com/index.php";
$request = Request::fromString($requestString);
$this->assertEquals($request::METHOD_GET, $request->getMethod());
}

/**
* PHPUNIT DATA PROVIDER
*
Expand Down

0 comments on commit b0cc93d

Please sign in to comment.