[BUGFIX] Allow passing null for $methods in getAccessibleMock 26/47426/4
authorOliver Klee <typo3-coding@oliverklee.de>
Wed, 30 Mar 2016 13:52:55 +0000 (15:52 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 30 Mar 2016 17:03:32 +0000 (19:03 +0200)
commit794b9d76ec529ebbb5bc8f80ddfad394b498a494
tree3af9cf391415b9f981883ec1c52a451eb58c1588
parent0fb040ce2c52ef33d81861bddaf9ae876362ea16
[BUGFIX] Allow passing null for $methods in getAccessibleMock

The method getMock() in the parent class also allows null for
$methods, meaning "mock no methods".

Releases: master, 7.6
Resolves: #75316
Change-Id: I7e14d4bc4082b41ed52ab967df87876a3755a105
Reviewed-on: https://review.typo3.org/47426
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Tests/BaseTestCase.php