You are here

public function ProductVariationFieldInjectionTest::testInjectedFieldsWithLayoutBuilderInstalled in Commerce Core 8.2

Verifies installing Layout Builder does not break field injection.

File

modules/product/tests/src/Functional/ProductVariationFieldInjectionTest.php, line 118

Class

ProductVariationFieldInjectionTest
Tests the product variation field display injection.

Namespace

Drupal\Tests\commerce_product\Functional

Code

public function testInjectedFieldsWithLayoutBuilderInstalled() {
  $this->container
    ->get('module_installer')
    ->install([
    'layout_builder',
  ]);
  $this
    ->rebuildContainer();
  $this
    ->testInjectedVariationDefault();
}