Skip to content

Commit

Permalink
feat: add test to hyva build command
Browse files Browse the repository at this point in the history
  • Loading branch information
torhoehn authored and cmuench committed Feb 21, 2025
1 parent d048973 commit 30b09bc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
}

$output->writeln(sprintf('<info>Building CSS for theme "%s"...</info>', $themePath));

if (!$isProduction) {
$output->writeln(sprintf('<info>Watching for changes. Press Ctrl+C to stop.</info>'));
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

namespace N98\Magento\Command\Developer\Theme;

use N98\Magento\Command\TestCase;

class BuildHyvaThemeCommandTest extends TestCase
{
public function testExecute()
{
$this->assertDisplayContains('dev:theme:build-hyva', 'Rebuilding...');
}
}

0 comments on commit 30b09bc

Please sign in to comment.