You are here

public function TimestampTest::setUp in Feeds 8.3

Overrides FeedsKernelTestBase::setUp

File

tests/src/Kernel/Feeds/Target/TimestampTest.php, line 24

Class

TimestampTest
@coversDefaultClass \Drupal\feeds\Feeds\Target\Timestamp @group feeds

Namespace

Drupal\Tests\feeds\Kernel\Feeds\Target

Code

public function setUp() {
  parent::setUp();

  // Create feed type.
  $this->feedType = $this
    ->createFeedTypeForCsv([
    'guid' => 'guid',
    'title' => 'title',
    'created' => 'created',
    'datetime_start' => 'datetime_start',
    'year' => 'year',
  ]);
}