Skip to content

Commit

Permalink
Merge pull request #89 from boekkooi/patch-3
Browse files Browse the repository at this point in the history
Test for commit SHA: b8962c0
  • Loading branch information
lsmith77 committed Jun 30, 2011
2 parents b8962c0 + d2a2fac commit 59b9a46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Tests/EventListener/BodyListenerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ public static function testOnKernelRequestDataProvider() {
'Empty GET request' => array(new Request(array(), array(), array(), array(), array(), array(), 'foo'), 'GET', 'application/json', array()),
'POST request with parameters' => array(new Request(array(), array('bar'), array(), array(), array(), array(), 'foo'), 'POST', 'application/json', array('bar')),
'POST request with unallowed format' => array(new Request(array(), array(), array(), array(), array(), array(), 'foo'), 'POST', 'application/fooformat', array()),
'POST request with no Content-Type' => array(new Request(array(), array(), array('_format' => 'json'), array(), array(), array(), 'foo'), 'POST', null, array('foo')),
);
}

Expand Down

0 comments on commit 59b9a46

Please sign in to comment.