Skip to content

Commit

Permalink
ユニットテスト失敗による調整
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuring committed Oct 28, 2023
1 parent 69bd710 commit c59c125
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion plugins/baser-core/src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ public function bootstrap(PluginApplicationInterface $app): void
if (BcUtil::isTest()) $app->addPlugin('CakephpFixtureFactories');
$app->addPlugin('Authentication');
$app->addPlugin('Migrations');
$app->addPlugin('SoftDelete');

$this->addTheme($app);

Expand Down
2 changes: 1 addition & 1 deletion plugins/baser-core/src/View/Helper/BcFormHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ public function editor($fieldName, $options = [])
return $bcCkeditor->editor($fieldName, $options);
}

$this->_View->addHelper($options['editor']);
$this->_View->loadHelper($options['editor']);
[, $editor] = pluginSplit($options['editor']);
if (!empty($this->getView()->{$editor})) {
return $this->getView()->{$editor}->editor($fieldName, $options);
Expand Down

0 comments on commit c59c125

Please sign in to comment.