You are here

protected function FieldFormatterSettingsTest::assertNotEntity in Commerce Migrate 8.2

Same name in this branch
  1. 8.2 modules/ubercart/tests/src/Kernel/Migrate/uc7/FieldFormatterSettingsTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7\FieldFormatterSettingsTest::assertNotEntity()
  2. 8.2 modules/ubercart/tests/src/Kernel/Migrate/uc6/FieldFormatterSettingsTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc6\FieldFormatterSettingsTest::assertNotEntity()
Same name and namespace in other branches
  1. 3.1.x modules/ubercart/tests/src/Kernel/Migrate/uc6/FieldFormatterSettingsTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc6\FieldFormatterSettingsTest::assertNotEntity()
  2. 3.0.x modules/ubercart/tests/src/Kernel/Migrate/uc6/FieldFormatterSettingsTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc6\FieldFormatterSettingsTest::assertNotEntity()

Asserts various aspects of a view display.

Parameters

string $id: The view display ID.

1 call to FieldFormatterSettingsTest::assertNotEntity()
FieldFormatterSettingsTest::testEntityDisplaySettings in modules/ubercart/tests/src/Kernel/Migrate/uc6/FieldFormatterSettingsTest.php
Test that product entity display are migrated to product entities.

File

modules/ubercart/tests/src/Kernel/Migrate/uc6/FieldFormatterSettingsTest.php, line 57

Class

FieldFormatterSettingsTest
Migrate field instance tests.

Namespace

Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc6

Code

protected function assertNotEntity($id) {
  $display = EntityViewDisplay::load($id);
  $this
    ->assertNull($display);
}