You are here

protected function DrupalSolrDocumentTest::setUp in Apache Solr Search 8

Same name and namespace in other branches
  1. 6.3 tests/solr_document.test \DrupalSolrDocumentTest::setUp()
  2. 7 tests/solr_document.test \DrupalSolrDocumentTest::setUp()

File

tests/solr_document.test, line 18
Unit tests for document object methods.

Class

DrupalSolrDocumentTest
@file Unit tests for document object methods.

Code

protected function setUp() {
  parent::setUp();
  require_once dirname(dirname(realpath(__FILE__))) . '/apachesolr.module';
  require_once dirname(dirname(realpath(__FILE__))) . '/Apache_Solr_Document.php';
}