mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
Adding missing expectedException annotations
This commit is contained in:
parent
0ca8af2c22
commit
7003edeb8f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue