[Nostromo] Improve coverage

This commit is contained in:
Andrés Montañez 2017-02-11 02:07:08 -03:00
parent 9d6163669a
commit b45d85c030
2 changed files with 3 additions and 2 deletions

View file

@ -1,7 +1,7 @@
CHANGELOG for 3.x CHANGELOG for 3.X
================= =================
* 3.0.X (2017-XX-XX) * 3.X (2017-XX-XX)
* Add new Composer task, to update phar (composer/self-update) * Add new Composer task, to update phar (composer/self-update)
* [#344] Allow to flag Filesystem tasks * [#344] Allow to flag Filesystem tasks
* [PR#346] Add new File System task, to change file's modes (fs/chmod) * [PR#346] Add new File System task, to change file's modes (fs/chmod)

View file

@ -19,6 +19,7 @@ class SelfUpdateTaskTest extends TestCase
$task = new SelfUpdateTask(); $task = new SelfUpdateTask();
$task->setOptions(['path' => 'composer']); $task->setOptions(['path' => 'composer']);
$task->setRuntime($runtime); $task->setRuntime($runtime);
$this->assertEquals('[Composer] Self Update', $task->getDescription());
try { try {
$task->execute(); $task->execute();