mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-07 20:46:24 +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
|
* testParameterMismatch method
|
||||||
*
|
*
|
||||||
|
* @expectedException PDOException
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testParameterMismatch() {
|
public function testParameterMismatch() {
|
||||||
|
@ -347,7 +348,6 @@ class ModelReadTest extends BaseModelTest {
|
||||||
$params = array('Y');
|
$params = array('Y');
|
||||||
|
|
||||||
$result = $Article->query($query, $params);
|
$result = $Article->query($query, $params);
|
||||||
$this->assertEmpty($result);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue