From f59d95e348fe0a22e6c885c005ea1b2472bbc8f5 Mon Sep 17 00:00:00 2001 From: mark_story Date: Thu, 8 Oct 2009 23:46:05 -0400 Subject: [PATCH] Updating file headers. --- cake/libs/error.php | 9 ++------- cake/tests/cases/libs/error.test.php | 16 ++++++---------- 2 files changed, 8 insertions(+), 17 deletions(-) diff --git a/cake/libs/error.php b/cake/libs/error.php index 821f6d928..ebfd86387 100644 --- a/cake/libs/error.php +++ b/cake/libs/error.php @@ -1,6 +1,4 @@ - * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) + * Copyright 2005-2009, Cake Software Foundation, Inc. (http://www.cakefoundation.org) * * Licensed under The Open Group Test Suite License * Redistributions of files must retain the above copyright notice. * * @filesource - * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) + * @copyright Copyright 2005-2009, Cake Software Foundation, Inc. (http://www.cakefoundation.org) * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests * @package cake * @subpackage cake.tests.cases.libs * @since CakePHP(tm) v 1.2.0.5432 - * @version $Revision$ - * @modifiedby $LastChangedBy$ - * @lastmodified $Date$ * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License */ if (class_exists('TestErrorHandler')) { @@ -261,9 +256,10 @@ class ErrorHandlerTest extends CakeTestCase { ob_clean(); ob_start(); $TestErrorHandler->error(array( - 'code' => 404, - 'message' => 'Page not Found', - 'name' => "Couldn't find what you were looking for")); + 'code' => 404, + 'message' => 'Page not Found', + 'name' => "Couldn't find what you were looking for" + )); $result = ob_get_clean(); $this->assertPattern("/

Couldn't find what you were looking for<\/h2>/", $result); $this->assertPattern('/Page not Found/', $result);