You are here

function CommerceReportsCustomerTestCase::testSingleCustomerMultipleProducts in Commerce Reporting 7.3

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

File

tests/commerce_reports.test, line 468
Unit tests for the commerce reports module.

Class

CommerceReportsCustomerTestCase

Code

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