protected function CartEntityAccessTest::setUp in Commerce Core 8.2
Overrides CartBrowserTestBase::setUp
File
- modules/
cart/ tests/ src/ Functional/ CartEntityAccessTest.php, line 28
Class
- CartEntityAccessTest
- Tests cart access.
Namespace
Drupal\Tests\commerce_cart\FunctionalCode
protected function setUp() : void {
parent::setUp();
user_role_grant_permissions(RoleInterface::ANONYMOUS_ID, [
'access checkout',
]);
}