mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Refactoring test.
Removing expectError() replacing it with PHPUnit annotation.
This commit is contained in:
parent
aa4545217e
commit
608e5ee04b
1 changed files with 1 additions and 1 deletions
|
@ -267,10 +267,10 @@ class MooEngineHelperTest extends CakeTestCase {
|
|||
/**
|
||||
* test drop() method with the required drag option missing
|
||||
*
|
||||
* @expectedException PHPUnit_Framework_Error_Warning
|
||||
* @return void
|
||||
*/
|
||||
public function testDropWithMissingOption() {
|
||||
$this->expectError();
|
||||
$this->Moo->get('#drop-me');
|
||||
$this->Moo->drop(array(
|
||||
'drop' => 'onDrop',
|
||||
|
|
Loading…
Add table
Reference in a new issue