summaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-05-06 16:58:39 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-05-11 17:54:08 +0200
commitd8da79cab0838ff9ffb3929a7bf854d8d5dc0797 (patch)
tree470c064510dec840659da10bfef2a7edea4367c8 /tests/lib
parent4dca2038bf3dbc8f17f08e9479de886483ba1e4b (diff)
downloadnextcloud-server-d8da79cab0838ff9ffb3929a7bf854d8d5dc0797.tar.gz
nextcloud-server-d8da79cab0838ff9ffb3929a7bf854d8d5dc0797.zip
add test for not failing when adding more comments after type parameters, do not limit x-www-form-urlencoded to POST
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/appframework/http/DispatcherTest.php2
-rw-r--r--tests/lib/appframework/utility/ControllerMethodReflectorTest.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/appframework/http/DispatcherTest.php b/tests/lib/appframework/http/DispatcherTest.php
index ba1e989cce9..d1296f9cf0f 100644
--- a/tests/lib/appframework/http/DispatcherTest.php
+++ b/tests/lib/appframework/http/DispatcherTest.php
@@ -319,7 +319,7 @@ class DispatcherTest extends \PHPUnit_Framework_TestCase {
'HTTP_ACCEPT' => 'application/text, test',
'HTTP_CONTENT_TYPE' => 'application/x-www-form-urlencoded'
),
- 'method' => 'POST'
+ 'method' => 'PUT'
));
$this->dispatcher = new Dispatcher(
$this->http, $this->middlewareDispatcher, $this->reflector,
diff --git a/tests/lib/appframework/utility/ControllerMethodReflectorTest.php b/tests/lib/appframework/utility/ControllerMethodReflectorTest.php
index 2a7c0031581..3659a6b206c 100644
--- a/tests/lib/appframework/utility/ControllerMethodReflectorTest.php
+++ b/tests/lib/appframework/utility/ControllerMethodReflectorTest.php
@@ -75,7 +75,7 @@ class ControllerMethodReflectorTest extends \PHPUnit_Framework_TestCase {
/**
* @Annotation
- * @param double $test
+ * @param double $test something special
*/
public function testReadTypeDoubleAnnotations(){
$reader = new ControllerMethodReflector();