You are here

public function CartCouponsResourceTest::setUp in Commerce Cart API 8

Overrides CartResourceTestBase::setUp

File

tests/src/Functional/CartCouponsResourceTest.php, line 34

Class

CartCouponsResourceTest
Tests the cart coupons resource.

Namespace

Drupal\Tests\commerce_cart_api\Functional

Code

public function setUp() {
  parent::setUp();
  $this
    ->setUpAuthorization('GET');
  $this
    ->setUpAuthorization('PATCH');
  $this
    ->setUpAuthorization('DELETE');
}