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 e9e71e7 commit 2d5815cCopy full SHA for 2d5815c
tests/unit/SearchTest.php
@@ -84,7 +84,6 @@ public function testUpdate()
84
})->once();
85
86
$luceneIndex->shouldReceive('delete')->with(10)->once();
87
- $luceneIndex->shouldReceive('optimize')->twice();
88
89
$index = $this->createIndex();
90
@@ -109,7 +108,6 @@ public function testDelete()
109
108
});
110
111
112
- $luceneIndex->shouldReceive('optimize')->once();
113
114
115
$index->delete($this->model);
0 commit comments