public function CommerceReportsSalesOverviewTestCase::testOutsideOverviewScope in Commerce Reporting 7.4
File
- src/
Tests/ CommerceReportsSalesOverviewTestCase.php, line 117
Class
Namespace
Drupal\commerce_reports\TestsCode
public function testOutsideOverviewScope() {
$this
->createCustomers(2);
$this
->createOrders(10, TRUE, array(
time() - 31 * 86400,
));
$total = $this
->getTotal();
$testData = array(
'today' => array(
'count' => 0,
'amount' => 0,
),
'yesterday' => array(
'count' => 0,
'amount' => 0,
),
'month' => array(
'count' => 0,
'amount' => 0,
),
);
$this
->_test($testData);
}