From ab7dd99e436d5ce78b5857f7149dc5f030d5b341 Mon Sep 17 00:00:00 2001 From: Ceeram Date: Fri, 10 Aug 2012 11:05:19 +0200 Subject: [PATCH] add missing docblock, remove unneeded code --- .../Component/RequestHandlerComponentTest.php | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/lib/Cake/Test/Case/Controller/Component/RequestHandlerComponentTest.php b/lib/Cake/Test/Case/Controller/Component/RequestHandlerComponentTest.php index 197298448..baa0c946b 100644 --- a/lib/Cake/Test/Case/Controller/Component/RequestHandlerComponentTest.php +++ b/lib/Cake/Test/Case/Controller/Component/RequestHandlerComponentTest.php @@ -71,15 +71,12 @@ class RequestHandlerTestController extends Controller { } -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