You are here

function CommerceReportsProductTestCase::testMultipleProducts in Commerce Reporting 7.4

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

File

src/Tests/CommerceReportsProductTestCase.php, line 34

Class

CommerceReportsProductTestCase

Namespace

Drupal\commerce_reports\Tests

Code

function testMultipleProducts() {
  $this
    ->createProducts(10);
  $this
    ->createOrders();
  $this
    ->_test();
}