You are here

public function SmartTitleLayoutBuilderTest::testDefaultValuesWithEnabledSmartTitle in Smart Title 8

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

File

tests/src/FunctionalJavascript/SmartTitleLayoutBuilderTest.php, line 39

Class

SmartTitleLayoutBuilderTest
Tests the module's compatibility with Layout builder.

Namespace

Drupal\Tests\smart_title\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();
}