Permalink
Browse files

Fix TRAC-977.

  • Loading branch information...
1 parent c0e3f76 commit 78f4a5b30ca878c0d446e0eba409f0218e64171c @sebastianbergmann committed Dec 30, 2009
Showing with 4 additions and 0 deletions.
  1. +4 −0 PHPUnit/Framework/TestCase.php
@@ -1177,6 +1177,10 @@ protected function getMockForAbstractClass($originalClassName, array $arguments
}
}
+ if (empty($methods)) {
+ $methods = NULL;
+ }
+
return $this->getMock(
$originalClassName,
$methods,

0 comments on commit 78f4a5b

Please sign in to comment.