You are here

protected function FeedsDrushCommandsTest::getSimplifiedErrorOutput in Feeds 8.3

2 calls to FeedsDrushCommandsTest::getSimplifiedErrorOutput()
FeedsDrushCommandsTest::testImportDisabledFeed in tests/src/Functional/Commands/FeedsDrushCommandsTest.php
Tests importing a disabled feed.
FeedsDrushCommandsTest::testImportFeedFailsWhenLocked in tests/src/Functional/Commands/FeedsDrushCommandsTest.php
Tests that importing a locked feed fails.

File

tests/src/Functional/Commands/FeedsDrushCommandsTest.php, line 295

Class

FeedsDrushCommandsTest
@coversDefaultClass \Drupal\feeds\Commands\FeedsDrushCommands @group feeds

Namespace

Drupal\Tests\feeds\Functional\Commands

Code

protected function getSimplifiedErrorOutput() {

  // Remove \n from output.
  $output = $this
    ->traitGetSimplifiedErrorOutput();
  return str_replace("\n", '', $output);
}