You are here

protected function FeedsJavascriptTestBase::batchImport in Feeds 8.3

Starts a batch import.

Parameters

\Drupal\feeds\FeedInterface $feed: The feed to import.

File

tests/src/FunctionalJavascript/FeedsJavascriptTestBase.php, line 68

Class

FeedsJavascriptTestBase
Base class for Feeds javascript tests.

Namespace

Drupal\Tests\feeds\FunctionalJavascript

Code

protected function batchImport(FeedInterface $feed) {
  $this
    ->drupalGet('feed/' . $feed
    ->id() . '/import');
  $this
    ->submitForm([], 'Import');
}