From 7003edeb8fcad98efd2716d8c846e88dedf83800 Mon Sep 17 00:00:00 2001 From: Jose Lorenzo Rodriguez Date: Sat, 3 Sep 2011 17:05:09 -0430 Subject: [PATCH] Adding missing expectedException annotations --- lib/Cake/Test/Case/Model/ModelReadTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Test/Case/Model/ModelReadTest.php b/lib/Cake/Test/Case/Model/ModelReadTest.php index e8e34f859..d21c6c5b5 100644 --- a/lib/Cake/Test/Case/Model/ModelReadTest.php +++ b/lib/Cake/Test/Case/Model/ModelReadTest.php @@ -335,6 +335,7 @@ class ModelReadTest extends BaseModelTest { /** * testParameterMismatch method * + * @expectedException PDOException * @return void */ public function testParameterMismatch() { @@ -347,7 +348,6 @@ class ModelReadTest extends BaseModelTest { $params = array('Y'); $result = $Article->query($query, $params); - $this->assertEmpty($result); } /**