32 private $coreRegistry;
57 [
'coreRegistry' => $this->coreRegistry]
59 'tab/view/sales.phtml' 61 $this->html = $this->block->toHtml();
79 '<span class="price">$10.00</span>',
80 $this->block->formatCurrency(10.00, self::MAIN_WEBSITE)
89 $this->assertFalse($this->block->isSingleStoreMode());
98 [
'lifetime' => 0,
'base_lifetime' => 0,
'base_avgsale' => 0,
'num_orders' => 0],
99 $this->block->getTotals()->getData()
108 $this->assertEmpty($this->block->getRows());
116 $this->assertEquals(0, $this->block->getWebsiteCount(self::MAIN_WEBSITE));
124 $this->assertContains(
'<span class="title">Sales Statistics</span>', $this->html);
125 $this->assertContains(
'<strong>All Store Views</strong>', $this->html);
const CURRENT_CUSTOMER_ID
static getObjectManager()