You are here

protected function WishlistTest::setUp in Commerce Wishlist 8.3

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

Overrides WishlistKernelTestBase::setUp

File

tests/src/Kernel/Entity/WishlistTest.php, line 29

Class

WishlistTest
Tests the wishlist entity.

Namespace

Drupal\Tests\commerce_wishlist\Kernel\Entity

Code

protected function setUp() : void {
  parent::setUp();
  $user = $this
    ->createUser();
  $this->user = $this
    ->reloadEntity($user);
}