You are here

public function ParserIcalFeedsLocationTestCase::createConfiguredFeed in iCal feed parser 6.2

Same name and namespace in other branches
  1. 7 tests/parser_ical_feeds.test \ParserIcalFeedsLocationTestCase::createConfiguredFeed()

Basic test configured feed item, to import feed into.

Overrides ParserIcalFeedsTestCase::createConfiguredFeed

1 call to ParserIcalFeedsLocationTestCase::createConfiguredFeed()
ParserIcalFeedsLocationTestCase::testLocationFeed in tests/parser_ical_feeds.test
Basic test using Location.ics

File

tests/parser_ical_feeds.test, line 201

Class

ParserIcalFeedsLocationTestCase

Code

public function createConfiguredFeed() {
  $typename = parent::createConfiguredFeed(array(
    'location' => array(
      'type' => 'text',
    ),
  ));
  $this
    ->addMappings('ical', array(
    array(
      'source' => 'ical_location',
      'target' => 'field_location',
    ),
  ));
  return $typename;
}