
| Current Path : /var/www/html_old/12park.008/web/core/modules/simpletest/tests/src/Functional/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html_old/12park.008/web/core/modules/simpletest/tests/src/Functional/SimpletestTest.php |
<?php
namespace Drupal\Tests\simpletest\Functional;
use Drupal\Tests\BrowserTestBase;
/**
* Basic functionality of the Testing module.
*
* @group simpletest
*/
class SimpletestTest extends BrowserTestBase {
/**
* Modules to enable.
*
* @var array
*/
public static $modules = ['simpletest'];
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'stark';
/**
* Test that we can uninstall the module without mishap.
*
* Upon uninstall, simpletest will clean up after itself. This should neither
* break the test runner's expectations, nor cause any kind of exception.
*
* Note that this might break run-tests.sh test runs that don't use the
* --sqlite argument.
*/
public function testUninstallModule() {
/* @var $installer \Drupal\Core\Extension\ModuleInstallerInterface */
$installer = $this->container->get('module_installer');
$this->assertTrue($installer->uninstall(['simpletest']));
}
}