You are here

DevelDrushTest.php in Devel 8

File

tests/src/Unish/DevelDrushTest.php
View source
<?php

namespace Drupal\Tests\devel\Unish;

use Unish\CommandUnishTestCase;

/**
 * @group devel
 * @group commands
 */
class DevelDrushTest extends CommandUnishTestCase {

  /**
   * {@inheritdoc}
   */
  protected function setUp() {
    $this
      ->setUpDrupal(1, true);
    $this
      ->drush('pm:enable', [
      'devel',
    ]);
  }

  /**
   * Test devel:services command.
   */
  public function testServices() {
    $this
      ->drush('devel:services');
    $output = $this
      ->getOutput();
    $this
      ->assertContains('account_switcher', $output);
  }

}

Classes

Namesort descending Description
DevelDrushTest @group devel @group commands