Improved and simplified DeleteTagCommand thanks to SymfonyStyle

This commit is contained in:
Alejandro Celaya
2017-12-31 19:06:04 +01:00
parent 09b161304c
commit 057bbae729
2 changed files with 6 additions and 9 deletions

View File

@@ -64,7 +64,7 @@ class DeleteTagsCommandTest extends TestCase
]);
$output = $this->commandTester->getDisplay();
$this->assertContains(sprintf('Deleted tags: ["%s"]', implode('", "', $tagNames)), $output);
$this->assertContains('Tags properly deleted', $output);
$deleteTags->shouldHaveBeenCalled();
}
}