You are here

public function SmartTitleUiLayoutBuilderTest::testDefaultValuesWithEnabledSmartTitle in Smart Title 8

Default Layout Builder config is the expected with Smart Title component.

File

modules/smart_title_ui/tests/src/FunctionalJavascript/SmartTitleUiLayoutBuilderTest.php, line 40

Class

SmartTitleUiLayoutBuilderTest
Tests the module's compatibility with Layout builder.

Namespace

Drupal\Tests\smart_title_ui\FunctionalJavascript

Code

public function testDefaultValuesWithEnabledSmartTitle() {

  // Add Smart Title for test content types.
  $this
    ->config('smart_title.settings')
    ->set('smart_title', [
    'node:after',
  ])
    ->save();
  $this
    ->rebuildAll();
  $this
    ->testDefaultValues();
}