You are here

protected function feedsDrushTest::execDrush in Feeds 7.2

Wrapper around drush to always add the site options.

Parameters

string command: The drush command to run.

array args: Command arguments.

array $options: An associative array containing options.

4 calls to feedsDrushTest::execDrush()
feedsDrushTest::setUp in tests/drush/feedsDrushTest.php
feedsDrushTest::testDisableFeedsImporter in tests/drush/feedsDrushTest.php
Tests if an importer can get disabled.
feedsDrushTest::testImportUsingFileOption in tests/drush/feedsDrushTest.php
Tests an import using the file option.
feedsDrushTest::testNoImportForDisabledImporter in tests/drush/feedsDrushTest.php
Tests that no nodes get imported for a disabled importer.

File

tests/drush/feedsDrushTest.php, line 78

Class

feedsDrushTest
Tests Drush integration for Feeds. Based on Drush 8.

Namespace

Unish

Code

protected function execDrush($command, array $args, array $options = array()) {
  return $this
    ->drush($command, $args, $this->siteOptions + $options);
}