Skip to content

Commit

Permalink
Style(TestCommand): Styles have been added in command display
Browse files Browse the repository at this point in the history
  • Loading branch information
Sleon4 committed Jun 2, 2022
1 parent db96d39 commit 06e24d7
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions app/Console/TestCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ class TestCommand extends Command {
protected static $defaultName = "test";

protected function initialize(InputInterface $input, OutputInterface $output) {
$output->writeln("<comment>Running unit tests...</comment>");
}

}

protected function interact(InputInterface $input, OutputInterface $output) {
protected function interact(InputInterface $input, OutputInterface $output) {

}
}

protected function configure() {
$this->setDescription("Command to create run unit tests");
}
protected function configure() {
$this->setDescription("Command to create run unit tests");
}

protected function execute(InputInterface $input, OutputInterface $output) {
$result = exec('.\vendor\bin\phpunit');
protected function execute(InputInterface $input, OutputInterface $output) {
$result = exec('.\vendor\bin\phpunit');
$output->writeln($result);
return Command::SUCCESS;
}
Expand Down

0 comments on commit 06e24d7

Please sign in to comment.