You are here

public function FeedsHTTPRequestTestCase::setUp in Feeds 7.2

Sets up unit test environment.

Unlike DrupalWebTestCase::setUp(), DrupalUnitTestCase::setUp() does not install modules because tests are performed without accessing the database. Any required files must be explicitly included by the child class setUp() method.

Overrides FeedsUnitTestHelper::setUp

File

tests/http_request.test, line 27
Tests for http_request.inc.

Class

FeedsHTTPRequestTestCase
Tests for the http library.

Code

public function setUp() {
  parent::setUp();
  feeds_include_library('http_request.inc', 'http_request');
}