コード例 #1
0
 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();
 }
コード例 #2
0
ファイル: IndexTest.php プロジェクト: andrewhowdencom/m2onk8s
 protected function tearDown()
 {
     $this->_customerSession->logout();
     $this->_customerSession = null;
     parent::tearDown();
 }
コード例 #3
0
ファイル: AuthTest.php プロジェクト: Atlis/docker-magento2
 protected function tearDown()
 {
     $this->_session = null;
     $this->_auth = null;
     parent::tearDown();
 }