You are here

protected function TestSiteApplication::getDefaultCommands in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/TestSite/TestSiteApplication.php \Drupal\TestSite\TestSiteApplication::getDefaultCommands()

File

core/tests/Drupal/TestSite/TestSiteApplication.php, line 24

Class

TestSiteApplication
Application wrapper for test site commands.

Namespace

Drupal\TestSite

Code

protected function getDefaultCommands() {
  $default_commands = parent::getDefaultCommands();
  $default_commands[] = new TestSiteInstallCommand();
  $default_commands[] = new TestSiteTearDownCommand();
  $default_commands[] = new TestSiteReleaseLocksCommand();
  $default_commands[] = new TestSiteUserLoginCommand();
  return $default_commands;
}