Fixing reset command to allow resetting of just one type, starting to write test
This commit is contained in:
parent
f565ec5638
commit
05ee300ddb
2 changed files with 54 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ class ResetCommand extends ContainerAwareCommand
|
|||
|
||||
if (null !== $type) {
|
||||
$output->writeln(sprintf('<info>Resetting</info> <comment>%s/%s</comment>', $index, $type));
|
||||
$this->resetter->resetIndex($index, $type);
|
||||
$this->resetter->resetIndexType($index, $type);
|
||||
} else {
|
||||
$indexes = null === $index
|
||||
? array_keys($this->indexManager->getAllIndexes())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue