Skip to content

Commit

Permalink
Fixing unittests
Browse files Browse the repository at this point in the history
  • Loading branch information
Hackwar committed Mar 3, 2024
1 parent 386e5f6 commit dced72c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/Tasks/Build/Component.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public function run()
// Build media (relative path)
if ($this->hasMedia) {
$this->logger->log(LogLevel::INFO, 'Copy media files', $this->getTaskContext());
$media = $this->buildMedia("media/com_" . $this->getExtensionName(), 'com_' . $this->getExtensionName());
$media = $this->buildMedia("media/com_" . $this->getExtensionName(), 'com_' . $this->getExtensionName(), $this->params);
$media->setVerbosityThreshold(VerbosityThresholdInterface::VERBOSITY_VERBOSE)
->run();

Expand All @@ -107,7 +107,7 @@ public function run()

// Build language files for the component
if (is_dir($this->getSourceFolder() . '/administrator/language')) {
$language = $this->buildLanguage("com_" . $this->getExtensionName())
$language = $this->buildLanguage("com_" . $this->getExtensionName(), $this->params)
->setVerbosityThreshold(self::VERBOSITY_VERBOSE);
$language->run();
}
Expand Down

0 comments on commit dced72c

Please sign in to comment.