Skip to content

Commit

Permalink
Refactoring test.
Browse files Browse the repository at this point in the history
Removing expectError() replacing it with PHPUnit annotation.
  • Loading branch information
markstory committed Sep 10, 2011
1 parent aa45452 commit 608e5ee
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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',
Expand Down

0 comments on commit 608e5ee

Please sign in to comment.