1
0
mirror of https://github.com/silverstripe/silverstripe-fulltextsearch synced 2024-10-22 14:05:29 +02:00

FIX Update tests to reflect the fact that the versioned variant is not relevant for SearchUpdaterTest_Container

This commit is contained in:
Robbie Averill 2018-02-23 16:42:35 +13:00
parent 6e5b37e728
commit 31991858ef

View File

@ -172,7 +172,7 @@ class SolrIndexTest extends SapphireTest
$this->equalTo([ $this->equalTo([
'qf' => SearchUpdaterTest_Container::class . '_Field1^1.5 ' 'qf' => SearchUpdaterTest_Container::class . '_Field1^1.5 '
. SearchUpdaterTest_Container::class . '_Field2^2.1 _text', . SearchUpdaterTest_Container::class . '_Field2^2.1 _text',
'fq' => '+(_versionedstage:"" (*:* -_versionedstage:[* TO *]))', 'fq' => '',
]), ]),
$this->anything() $this->anything()
)->willReturn($this->getFakeRawSolrResponse()); )->willReturn($this->getFakeRawSolrResponse());