protected function WishlistTest::setUp in Commerce Wishlist 8.3
Same name in this branch
- 8.3 tests/src/Functional/WishlistTest.php \Drupal\Tests\commerce_wishlist\Functional\WishlistTest::setUp()
- 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\EntityCode
protected function setUp() : void {
parent::setUp();
$user = $this
->createUser();
$this->user = $this
->reloadEntity($user);
}