
| Current Path : /var/www/html/rocksensor1/web/themes/contrib/bootstrap/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/rocksensor1/web/themes/contrib/bootstrap/tests/src/Functional/BootstrapBarrioTest.php |
<?php
namespace Drupal\Tests\bootstrap\Functional;
use Drupal\Tests\BrowserTestBase;
/**
* Tests the Bootstrap theme.
*
* @group claro
*/
class BootstrapBootstrapTest extends BrowserTestBase {
/**
* Modules to enable.
*
* Install the shortcut module so that bootstrap_bario.settings has its schema
* checked. There's currently no way for Bootstrap to provide a default
* and have valid configuration as themes cannot react to a module install.
*
* @var string[]
*/
protected static $modules = ['shortcut'];
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'bootstrap';
/**
* Test Bootstrap's configuration schema.
*/
public function testConfigSchema() {
$this->drupalLogin($this->rootUser);
$this->drupalGet('admin/appearance/settings/' . $this->defaultTheme);
$this->submitForm([], 'Save configuration');
$this->assertSession()->statusCodeEquals(200);
}
}