InstallTest.php in Content Browser 8
File
tests/src/Functional/InstallTest.php
View source
<?php
namespace Drupal\Tests\content_browser\Functional;
use Drupal\Tests\BrowserTestBase;
class InstallTest extends BrowserTestBase {
protected $strictConfigSchema = FALSE;
public static $modules = [
'content_browser',
];
protected $defaultTheme = 'stark';
public function testInstallDuringSync() {
$active = $this->container
->get('config.storage');
$sync = $this->container
->get('config.storage.sync');
$this
->copyConfig($active, $sync);
$module_installer = $this->container
->get('module_installer');
$module_installer
->uninstall([
'content_browser',
]);
$this
->configImporter()
->import();
}
}
Classes
Name |
Description |
InstallTest |
Tests install/uninstall routines for Content Browser. |