class DevelDrushTest

@group devel @group commands

Hierarchy

  • class \Drupal\Tests\devel\Unish\DevelDrushTest extends \Unish\CommandUnishTestCase

Expanded class hierarchy of DevelDrushTest

File

tests/src/Unish/DevelDrushTest.php, line 11

Namespace

Drupal\Tests\devel\Unish
View source
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);
    }

}

Members

Title Sort descending Modifiers Object type Summary
DevelDrushTest::setUp protected function
DevelDrushTest::testServices public function Test devel:services command.