Skip to content
Permalink
Browse files

Constructs the default fixture manager if 'fixtureManager' parameter …

…is an empty string.
  • Loading branch information...
bancer committed Feb 5, 2018
1 parent f0abce5 commit 1b11fa7a7aaf98148a17f7ae0f693f4f0d01d673
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/TestSuite/CakeTestRunner.php
@@ -97,7 +97,7 @@ protected function createTestResult() {
* @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'];

0 comments on commit 1b11fa7

Please sign in to comment.
You can’t perform that action at this time.