Browse Source

Fix tests

euromark 11 years ago
parent
commit
bb8c10c2da

+ 3 - 3
tests/bake_compare/Controller/Actions.ctp

@@ -13,7 +13,7 @@
 /**
  * View method
  *
- * @param string $id
+ * @param string|null $id
  * @return void
  * @throws \Cake\Network\Exception\NotFoundException
  */
@@ -47,7 +47,7 @@
 /**
  * Edit method
  *
- * @param string $id
+ * @param string|null $id
  * @return void
  * @throws \Cake\Network\Exception\NotFoundException
  */
@@ -72,7 +72,7 @@
 /**
  * Delete method
  *
- * @param string $id
+ * @param string|null $id
  * @return void
  * @throws \Cake\Network\Exception\NotFoundException
  */

+ 2 - 2
tests/test_app/TestApp/Controller/RequestHandlerTestController.php

@@ -44,8 +44,8 @@ class RequestHandlerTestController extends Controller {
 /**
  * test method for ajax redirection + parameter parsing
  *
- * @param string $one
- * @param string $two
+ * @param string|null $one
+ * @param string|null $two
  * @return void
  */
 	public function param_method($one = null, $two = null) {