DevelDrushTest.php

Same filename in other branches
  1. 6.x-1.x develDrushTest.php
  2. 7.x-1.x develDrushTest.php

Namespace

Drupal\Tests\devel\Unish

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

Title Deprecated Summary
DevelDrushTest @group devel @group commands