Permalink
Browse files

Refactoring test.

Removing expectError() replacing it with PHPUnit annotation.
  • Loading branch information...
1 parent aa45452 commit 608e5ee04b3956a898139518ef35b5c6f4581ef8 @markstory markstory committed Sep 10, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Test/Case/View/Helper/MootoolsEngineHelperTest.php
@@ -267,10 +267,10 @@ public function testDrag() {
/**
* 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',

0 comments on commit 608e5ee

Please sign in to comment.