You are here

function CommerceReportsCustomerTestCase::testMultipleCustomers 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 479
Unit tests for the commerce reports module.

Class

CommerceReportsCustomerTestCase

Code

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