Exemple #1
0
 /**
  * @magentoAppIsolation enabled
  */
 public function testLoginSuccessful()
 {
     //$result = $this->_model->login(Magento_Test_Bootstrap::ADMIN_NAME, Magento_Test_Bootstrap::ADMIN_PASSWORD);
     $result = $this->_model->login('not_exists', 'not_exists');
     $this->assertInstanceOf('Mage_Admin_Model_User', $result);
     $this->assertGreaterThan(time() - 10, $this->_model->getUpdatedAt());
 }