QuickEditMinimalTest.php in Drupal 9
File
core/modules/quickedit/tests/src/Functional/QuickEditMinimalTest.php
View source
<?php
namespace Drupal\Tests\quickedit\Functional;
use Drupal\Tests\BrowserTestBase;
class QuickEditMinimalTest extends BrowserTestBase {
protected $profile = 'minimal';
protected static $modules = [
'quickedit',
'quickedit_test',
];
protected $defaultTheme = 'stark';
public function testSuccessfulInstall() {
$editor_user = $this
->drupalCreateUser([
'access in-place editing',
]);
$this
->drupalLogin($editor_user);
$this
->assertSame('', $this
->config('system.theme')
->get('admin'), 'There is no admin theme set on the site.');
}
}