Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Refactoring test.

Removing expectError() replacing it with PHPUnit annotation.
  • Loading branch information...
commit 608e5ee04b3956a898139518ef35b5c6f4581ef8 1 parent aa45452
@markstory markstory authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Cake/Test/Case/View/Helper/MootoolsEngineHelperTest.php
View
2  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',
Please sign in to comment.
Something went wrong with that request. Please try again.