Skip to content

Commit b974829

Browse files
committed
#75 #in_progress #comment delete command + code coverage
1 parent b6c937d commit b974829

File tree

4 files changed

+3
-30
lines changed

4 files changed

+3
-30
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"symfony/test-pack": "^1.0"
2727
},
2828
"scripts": {
29-
"test": "php vendor/bin/phpunit --testdox tests"
29+
"test": "php vendor/bin/phpunit --testdox tests --coverage-clover clover.xml"
3030
},
3131
"bin": [
3232
"bin/studoo"

src/App.php

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ public function __construct()
1313
$this->add(new \Studoo\Command\DefaultCommand());
1414
$this->add(new \Studoo\Command\CreateStudentCommand());
1515
$this->add(new \Studoo\Command\CreateFileDefaultCommand());
16-
$this->add(new \Studoo\Command\GestionStudent());
1716

1817
CommandBanner::setVersion($this->getVersion());
1918

src/Command/GestionStudent.php

-26
This file was deleted.

tests/Command/CommandFileDefaultTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Command;
44

5-
use Studoo\Command\GestionStudent;
5+
use Studoo\Command\CreateFileDefaultCommand;
66
use Studoo\Service\Command\CommandBanner;
77
use PHPUnit\Framework\TestCase;
88
use Symfony\Component\Console\Application;
@@ -17,7 +17,7 @@ protected function setUp(): void
1717
{
1818
$application = new Application("Manage Student CLI", "0.2.0@alpha");
1919
CommandBanner::setVersion($application->getVersion());
20-
$application->add(new GestionStudent());
20+
$application->add(new CreateFileDefaultCommand());
2121
$command = $application->find("file:default");
2222
$this->commandeTester = new CommandTester($command);
2323
}

0 commit comments

Comments
 (0)