Permalink
Browse files

add missing docblock, remove unneeded code

  • Loading branch information...
1 parent 7ea1a59 commit ab7dd99e436d5ce78b5857f7149dc5f030d5b341 @ceeram ceeram committed Aug 10, 2012
Showing with 4 additions and 7 deletions.
  1. +4 −7 lib/Cake/Test/Case/Controller/Component/RequestHandlerComponentTest.php
View
11 lib/Cake/Test/Case/Controller/Component/RequestHandlerComponentTest.php
@@ -71,15 +71,12 @@ public function ajax2_layout() {
}
-class CustomJsonView extends JsonView {
-
/**
- * Test method for viewClassMap and overriding _serialize()
+ * CustomJsonView class
+ *
+ * @package Cake.Test.Case.Controller.Component
*/
- protected function _serialize($serialize) {
- return json_encode(array('return' => 'ok'));
- }
-}
+class CustomJsonView extends JsonView {}
/**
* RequestHandlerComponentTest class

0 comments on commit ab7dd99

Please sign in to comment.