You are here

protected function WishlistItemTest::setUp in Commerce Wishlist 8.3

Same name in this branch
  1. 8.3 tests/src/Functional/WishlistItemTest.php \Drupal\Tests\commerce_wishlist\Functional\WishlistItemTest::setUp()
  2. 8.3 tests/src/Kernel/Entity/WishlistItemTest.php \Drupal\Tests\commerce_wishlist\Kernel\Entity\WishlistItemTest::setUp()

Overrides CartKernelTestBase::setUp

File

tests/src/Kernel/Entity/WishlistItemTest.php, line 31

Class

WishlistItemTest
Tests the wishlist item entity.

Namespace

Drupal\Tests\commerce_wishlist\Kernel\Entity

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installEntitySchema('commerce_wishlist');
  $this
    ->installEntitySchema('commerce_wishlist_item');
  $this
    ->installConfig([
    'commerce_wishlist',
  ]);
}