Example #1
0
 /**
  * @magentoDataFixture Mage/Customer/_files/customer.php
  */
 public function testAddAuthLinkLogOut()
 {
     Mage::getSingleton('Mage_Customer_Model_Session')->login('*****@*****.**', 'password');
     $this->_block->addAuthLink('links', 1);
     $links = $this->_links->getLinks();
     $this->assertEquals('Log Out', $links[1]->getLabel());
 }