Skip to content

Commit ac17d69

Browse files
authored
Merge pull request #93 from ferishili/fix-phpunit-init
Fix for PHPUnit test init
2 parents 5feb53a + f7ddcb5 commit ac17d69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/settings/upload_settings_helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ private static function add_processing_tab_settings(mod_opencast_admin_settingsp
249249
self::add_heading($settings, $tabname, $ocinstanceid);
250250

251251
$disabled = false;
252-
if (!(defined('BEHAT_UTIL') && BEHAT_UTIL)) {
252+
if (!(defined('BEHAT_UTIL') && BEHAT_UTIL) && !(defined('PHPUNIT_UTIL') && PHPUNIT_UTIL)) {
253253
$wfconfighelper = workflowconfiguration_helper::get_instance($ocinstanceid);
254254
if (!$wfconfighelper->can_provide_configuration_panel()) {
255255
$disabled = true;

0 commit comments

Comments
 (0)