File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 1313use SilverStripe \Forager \Tests \Fake \PageFakeVersioned ;
1414use SilverStripe \Forager \Tests \Fake \TagFake ;
1515use SilverStripe \Forager \Tests \SearchServiceTest ;
16- use SilverStripe \ORM \Queries \SQLUpdate ;
1716use SilverStripe \Subsites \Model \Subsite ;
18- use SilverStripe \Versioned \Versioned ;
1917
2018class DataObjectFetcherTest extends SearchServiceTest
2119{
@@ -105,7 +103,7 @@ public function testFetchBatch(): void
105103 $ fetchedDocumentCount += count ($ documents );
106104
107105 // collect all ids so that we can check everything has been fetched at the end of the test
108- $ batchIDs = array_map (function (DataObjectDocument $ document ) {;
106+ $ batchIDs = array_map (function (DataObjectDocument $ document ) {
109107 return $ document ->getDataObject ()->ID ;
110108 }, $ documents );
111109
@@ -117,7 +115,6 @@ public function testFetchBatch(): void
117115
118116 // make sure we fetched all the documents
119117 $ this ->assertCount ($ totalDocuments , $ fetchedDocumentIDs );
120-
121118 }
122119
123120 public function testTotalDocuments (): void
You can’t perform that action at this time.
0 commit comments