From 1c0f97ea6732ee99f64f65927a059589310488bd Mon Sep 17 00:00:00 2001 From: mark_story Date: Sun, 27 May 2012 14:20:19 -0400 Subject: [PATCH] Fix some minor code style issues. --- .../Controller/Component/Auth/BasicAuthenticateTest.php | 9 --------- lib/Cake/Test/Case/Model/ModelWriteTest.php | 2 +- .../Test/Case/Model/Validator/CakeValidationSetTest.php | 9 --------- 3 files changed, 1 insertion(+), 19 deletions(-) diff --git a/lib/Cake/Test/Case/Controller/Component/Auth/BasicAuthenticateTest.php b/lib/Cake/Test/Case/Controller/Component/Auth/BasicAuthenticateTest.php index 7984d34b3..b1affff13 100644 --- a/lib/Cake/Test/Case/Controller/Component/Auth/BasicAuthenticateTest.php +++ b/lib/Cake/Test/Case/Controller/Component/Auth/BasicAuthenticateTest.php @@ -56,15 +56,6 @@ class BasicAuthenticateTest extends CakeTestCase { $this->response = $this->getMock('CakeResponse'); } -/** - * tearDown - * - * @return void - */ - public function tearDown() { - parent::tearDown(); - } - /** * test applying settings in the constructor * diff --git a/lib/Cake/Test/Case/Model/ModelWriteTest.php b/lib/Cake/Test/Case/Model/ModelWriteTest.php index 56c431e6d..c497a4a80 100644 --- a/lib/Cake/Test/Case/Model/ModelWriteTest.php +++ b/lib/Cake/Test/Case/Model/ModelWriteTest.php @@ -241,7 +241,7 @@ class ModelWriteTest extends BaseModelTest { $data = array( 'OverallFavorite' => array( 'id' => 22, - 'model_type' => '8-track', + 'model_type' => '8-track', 'model_id' => '3', 'priority' => '1' ) diff --git a/lib/Cake/Test/Case/Model/Validator/CakeValidationSetTest.php b/lib/Cake/Test/Case/Model/Validator/CakeValidationSetTest.php index 80e07a65b..10fa6fdf6 100644 --- a/lib/Cake/Test/Case/Model/Validator/CakeValidationSetTest.php +++ b/lib/Cake/Test/Case/Model/Validator/CakeValidationSetTest.php @@ -26,15 +26,6 @@ App::uses('CakeValidationSet', 'Model/Validator'); */ class CakeValidationSetTest extends CakeTestCase { -/** - * setUp method - * - * @return void - */ - public function setUp() { - parent::setUp(); - } - /** * testValidate method *