You are here

protected function InlineEntityFormTestBase::prepareSettings in Inline Entity Form 8

Prepares site settings and services before installation.

Overrides FunctionalTestSetupTrait::prepareSettings

File

tests/src/FunctionalJavascript/InlineEntityFormTestBase.php, line 50

Class

InlineEntityFormTestBase
Base Class for Inline Entity Form Tests.

Namespace

Drupal\Tests\inline_entity_form\FunctionalJavascript

Code

protected function prepareSettings() {
  $drupal_version = (double) substr(\Drupal::VERSION, 0, 3);
  if ($drupal_version < 8.800000000000001) {

    // Fix entity_reference_autocomplete match_limit schema errors.
    $this->strictConfigSchema = FALSE;
  }
  parent::prepareSettings();
}