You are here

function CommerceReportsCustomerTestCase::testMultipleCustomers in Commerce Reporting 7.4

Make one customer perform multiple orders with multiple products. Then verifies if the reporting is correct.

File

src/Tests/CommerceReportsCustomerTestCase.php, line 45

Class

CommerceReportsCustomerTestCase

Namespace

Drupal\commerce_reports\Tests

Code

function testMultipleCustomers() {
  $this
    ->createCustomers(3);
  $this
    ->createProducts(2);
  $this
    ->createOrders(10);
  $this
    ->_test();
}