Example #1
0
 /**
  * @magentoDataFixture Magento/Customer/_files/customer.php
  */
 public function testGetCreateDate()
 {
     $createdAt = $this->_block->formatDate($this->_loadCustomer()->getCreatedAt(), \Magento\Framework\Stdlib\DateTime\TimezoneInterface::FORMAT_TYPE_MEDIUM, true);
     $this->assertEquals($createdAt, $this->_block->getCreateDate());
 }