You are here

function CommerceReportsProductTestCase::testMultipleOrdersProducts in Commerce Reporting 7.4

Tests creating a multiple orders, containing multiple products with a variable quantity. Then verifies if the reporting is correct.

File

src/Tests/CommerceReportsProductTestCase.php, line 45

Class

CommerceReportsProductTestCase

Namespace

Drupal\commerce_reports\Tests

Code

function testMultipleOrdersProducts() {
  $this
    ->createProducts(5);
  $this
    ->createOrders(5);
  $this
    ->_test();
}