Skip to content
Browse files

Merge branch '3.5'

  • Loading branch information...
2 parents 8469397 + 15281a9 commit 2400ec96087ac24230d2ac1245db551e1679a8d5 @sebastianbergmann committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 PHPUnit/Framework/TestCase.php
View
4 PHPUnit/Framework/TestCase.php
@@ -1174,6 +1174,10 @@ protected function getMockForAbstractClass($originalClassName, array $arguments
}
}
+ if (empty($methods)) {
+ $methods = NULL;
+ }
+
return $this->getMock(
$originalClassName,
$methods,

0 comments on commit 2400ec9

Please sign in to comment.
Something went wrong with that request. Please try again.