Skip to content

Commit da3b9a9

Browse files
committed
Fix rebuild index command test.
1 parent 7862e23 commit da3b9a9

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

src/Nqxcode/LuceneSearch/Console/RebuildCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ public function fire()
4848
});
4949

5050
$progress->finish();
51+
$this->info(PHP_EOL);
5152
}
5253
$this->info(PHP_EOL . 'Operation is fully complete!');
5354
} else {

tests/functional/Console/RebuildCommandTest.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,21 @@ public function getOutputDataProvider()
4646
return [
4747
[
4848
'Creating index for model: "tests\models\Product"
49+
0/13 [>---------------------------] 0%
50+
1/13 [==>-------------------------] 7%
51+
2/13 [====>-----------------------] 15%
52+
3/13 [======>---------------------] 23%
53+
4/13 [========>-------------------] 30%
54+
5/13 [==========>-----------------] 38%
55+
6/13 [============>---------------] 46%
56+
7/13 [===============>------------] 53%
57+
8/13 [=================>----------] 61%
58+
9/13 [===================>--------] 69%
59+
10/13 [=====================>------] 76%
60+
11/13 [=======================>----] 84%
61+
12/13 [=========================>--] 92%
62+
13/13 [============================] 100%
63+
4964
Creating index for model: "tests\models\Tool"
5065
No available models found.
5166

0 commit comments

Comments
 (0)