mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Merge pull request #11695 from bancer/issue-11694-web-test-runner
Issue 11694 web test runner
This commit is contained in:
commit
f1db01395b
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ class CakeTestRunner extends PHPUnit_TextUI_TestRunner {
|
||||||
* @throws RuntimeException When fixture manager class cannot be loaded.
|
* @throws RuntimeException When fixture manager class cannot be loaded.
|
||||||
*/
|
*/
|
||||||
protected function _getFixtureManager($arguments) {
|
protected function _getFixtureManager($arguments) {
|
||||||
if (isset($arguments['fixtureManager'])) {
|
if (!empty($arguments['fixtureManager'])) {
|
||||||
App::uses($arguments['fixtureManager'], 'TestSuite');
|
App::uses($arguments['fixtureManager'], 'TestSuite');
|
||||||
if (class_exists($arguments['fixtureManager'])) {
|
if (class_exists($arguments['fixtureManager'])) {
|
||||||
return new $arguments['fixtureManager'];
|
return new $arguments['fixtureManager'];
|
||||||
|
|
Loading…
Reference in a new issue