We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9480e9e commit 4cee426Copy full SHA for 4cee426
tests/unit/SearchTest.php
@@ -84,6 +84,7 @@ public function testUpdate()
84
})->once();
85
86
$luceneIndex->shouldReceive('delete')->with(10)->once();
87
+ $luceneIndex->shouldReceive('optimize')->twice();
88
89
$index = $this->createIndex();
90
@@ -108,6 +109,7 @@ public function testDelete()
108
109
});
110
111
112
+ $luceneIndex->shouldReceive('optimize')->once();
113
114
115
$index->delete($this->model);
0 commit comments