return 1;
} $db_url =
$input->
getOption('db-url'
);
putenv("SIMPLETEST_DB=
$db_url"
);
// Handle the cleanup of the test site.
$this->
tearDown($test_database,
$db_url);
// Release the test database prefix lock.
if (!
$input->
getOption('keep-lock'
)) { $test_database->
releaseLock();
} $output->
writeln("<info>Successfully uninstalled
$db_prefix test site</info>"
);
return 0;
} /**
* Removes a given instance by deleting all the database tables and files.
*
* @param \Drupal\Core\Test\TestDatabase $test_database
* The test database object.
* @param string $db_url
* The database URL.
*
* @see \Drupal\Tests\BrowserTestBase::cleanupEnvironment()
*/