diff --git a/tests/SolrIndexVersionedTest.php b/tests/SolrIndexVersionedTest.php index affea68..f9df86f 100644 --- a/tests/SolrIndexVersionedTest.php +++ b/tests/SolrIndexVersionedTest.php @@ -182,6 +182,22 @@ class SolrVersionedTest_Index extends SolrIndex } } +/** + * Non-sitetree versioned dataobject + */ +class SolrIndexVersionedTest_Object extends DataObject implements TestOnly { + + private static $extensions = array( + 'Versioned' + ); + + private static $db = array( + 'Title' => 'Varchar', + 'Content' => 'Text', + 'TestText' => 'Varchar', + ); +} + if (!class_exists('Phockito')) { return; } @@ -215,19 +231,3 @@ class SolrDocumentMatcher extends Hamcrest_BaseMatcher return true; } } - -/** - * Non-sitetree versioned dataobject - */ -class SolrIndexVersionedTest_Object extends DataObject implements TestOnly { - - private static $extensions = array( - 'Versioned' - ); - - private static $db = array( - 'Title' => 'Varchar', - 'Content' => 'Text', - 'TestText' => 'Varchar', - ); -}