Merge pull request #11695 from bancer/issue-11694-web-test-runner

Issue 11694 web test runner
This commit is contained in:
Mark Story 2018-02-05 16:59:52 +00:00 committed by GitHub
commit f1db01395b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -97,7 +97,7 @@ class CakeTestRunner extends PHPUnit_TextUI_TestRunner {
* @throws RuntimeException When fixture manager class cannot be loaded.
*/
protected function _getFixtureManager($arguments) {
if (isset($arguments['fixtureManager'])) {
if (!empty($arguments['fixtureManager'])) {
App::uses($arguments['fixtureManager'], 'TestSuite');
if (class_exists($arguments['fixtureManager'])) {
return new $arguments['fixtureManager'];