You are here

public function FeedsTamperUnitTestCase::createSource in Feeds Tamper 6

6 calls to FeedsTamperUnitTestCase::createSource()
FeedsTamperAbsoluteURLTestCase::executeAbs in tests/feeds_tamper_plugins.test
FeedsTamperCopyTestCase::executeCop in tests/feeds_tamper_plugins.test
FeedsTamperHashTestCase::executeHash in tests/feeds_tamper_plugins.test
FeedsTamperKeyWordFilterTestCase::executeKey in tests/feeds_tamper_plugins.test
FeedsTamperRequiredTestCase::executeReq in tests/feeds_tamper_plugins.test

... See full list

File

tests/feeds_tamper_plugins.test, line 68
Unit tests for feeds tamper plugins.

Class

FeedsTamperUnitTestCase
Base class for plugin unit tests.

Code

public function createSource() {
  $source = new stdClass();
  $source->batch = new stdClass();
  $source->batch->items = array();
  return $source;
}