protected function UploadFetcherTest::setUp in Feeds 8.3
Same name in this branch
- 8.3 tests/src/Functional/Feeds/Fetcher/UploadFetcherTest.php \Drupal\Tests\feeds\Functional\Feeds\Fetcher\UploadFetcherTest::setUp()
- 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\FetcherCode
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',
],
]);
}