You are here

protected function UploadFetcherTest::setUp in Feeds 8.3

Same name in this branch
  1. 8.3 tests/src/Functional/Feeds/Fetcher/UploadFetcherTest.php \Drupal\Tests\feeds\Functional\Feeds\Fetcher\UploadFetcherTest::setUp()
  2. 8.3 tests/src/Unit/Feeds/Fetcher/UploadFetcherTest.php \Drupal\Tests\feeds\Unit\Feeds\Fetcher\UploadFetcherTest::setUp()

Overrides FeedsBrowserTestBase::setUp

File

tests/src/Functional/Feeds/Fetcher/UploadFetcherTest.php, line 24

Class

UploadFetcherTest
@coversDefaultClass \Drupal\feeds\Feeds\Fetcher\UploadFetcher @group feeds

Namespace

Drupal\Tests\feeds\Functional\Feeds\Fetcher

Code

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

  // Create a feed type.
  $this->feedType = $this
    ->createFeedType([
    'fetcher' => 'upload',
    'fetcher_configuration' => [
      'allowed_extensions' => 'atom rss rss1 rss2 opml xml',
    ],
  ]);
}