SmartTitleLayoutBuilderTest.php in Smart Title 8
File
tests/src/FunctionalJavascript/SmartTitleLayoutBuilderTest.php
View source
<?php
namespace Drupal\Tests\smart_title\FunctionalJavascript;
use Drupal\Tests\layout_builder\FunctionalJavascript\LayoutBuilderOptInTest;
class SmartTitleLayoutBuilderTest extends LayoutBuilderOptInTest {
protected static $modules = [
'smart_title',
];
public function testCheckboxLogicWithEnabledSmartTitle() {
$this
->config('smart_title.settings')
->set('smart_title', [
'node:before',
'node:after',
])
->save();
$this
->rebuildAll();
$this
->testCheckboxLogic();
}
public function testDefaultValuesWithEnabledSmartTitle() {
$this
->config('smart_title.settings')
->set('smart_title', [
'node:after',
])
->save();
$this
->rebuildAll();
$this
->testDefaultValues();
}
}