protected function tearDown()
 {
     $this->_auth->getAuthStorage()->destroy(['send_expire_cookie' => false]);
     $this->_auth = null;
     $this->_session = null;
     $this->_objectManager->get('Magento\\Backend\\Model\\UrlInterface')->turnOnSecretKey();
     parent::tearDown();
 }
Example #2
0
 protected function tearDown()
 {
     $this->_customerSession->logout();
     $this->_customerSession = null;
     parent::tearDown();
 }
Example #3
0
 protected function tearDown()
 {
     $this->_session = null;
     $this->_auth = null;
     parent::tearDown();
 }