Update namespacing for Search indexes and variants in tests

This commit is contained in:
Brett Tasker 2017-04-21 13:32:39 +12:00
parent db096ebf7d
commit 6a2a4a8dd2
5 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@
namespace SilverStripe\FullTextSearch\Tests\BatchedProcessorTest;
use SilverStripe\Dev\TestOnly;
use SilverStripe\FullTextSearch\Search\SearchIndex_Recording;
use SilverStripe\FullTextSearch\Search\Indexes\SearchIndex_Recording;
class BatchedProcessorTest_Index extends SearchIndex_Recording implements TestOnly
{

View File

@ -1,7 +1,7 @@
<?php
use SilverStripe\ORM\DataObject;
use SilverStripe\FullTextSearch\Search\SearchIndex_Recording;
use SilverStripe\FullTextSearch\Search\Indexes\SearchIndex_Recording;
use SilverStripe\Dev\SapphireTest;
class SearchUpdaterTest_Container extends DataObject

View File

@ -1,7 +1,7 @@
<?php
use SilverStripe\CMS\Model\SiteTree;
use SilverStripe\FullTextSearch\Search\SearchIndex_Recording;
use SilverStripe\FullTextSearch\Search\Indexes\SearchIndex_Recording;
use SilverStripe\Dev\SapphireTest;
class SearchVariantSiteTreeSubsitesPolyhomeTest_Item extends SiteTree

View File

@ -3,7 +3,7 @@
use SilverStripe\Dev\SapphireTest;
use SilverStripe\CMS\Model\SiteTree;
use SilverStripe\Dev\TestOnly;
use SilverStripe\FullTextSearch\Search\SearchIndex_Recording;
use SilverStripe\FullTextSearch\Search\Indexes\SearchIndex_Recording;
class SearchVariantVersionedTest extends SapphireTest
{

View File

@ -3,7 +3,7 @@
namespace SilverStripe\FullTextSearch\Tests\SolrReindexTest;
use SilverStripe\Dev\TestOnly;
use SilverStripe\FullTextSearch\Search\SearchVariant;
use SilverStripe\FullTextSearch\Search\Variants\SearchVariant;
/**
* Dummy variant that selects items with field Varient matching the current value