InstallTest.php in File Entity Browser 8
File
tests/src/Functional/InstallTest.php
View source
<?php
namespace Drupal\Tests\file_browser\Functional;
use Drupal\Tests\BrowserTestBase;
class InstallTest extends BrowserTestBase {
protected $strictConfigSchema = FALSE;
protected $defaultTheme = 'stable';
public static $modules = [
'file_browser',
];
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([
'file_browser',
]);
$this
->configImporter()
->import();
}
}
Classes
Name |
Description |
InstallTest |
Tests install/uninstall routines for File Browser. |