This commit is contained in:
2026-09-15 10:26:34 +08:00
commit ecf36afa56
10493 changed files with 1404888 additions and 0 deletions
@@ -0,0 +1,32 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Security\Controller\Adminhtml\Session;
class LogoutAllTest extends \Magento\TestFramework\TestCase\AbstractBackendController
{
/**
* Set up
*/
protected function setUp(): void
{
$this->uri = 'backend/security/session/logoutAll';
parent::setUp();
}
/**
* logoutAllAction test
*/
public function testLogoutAllAction()
{
$this->dispatch('backend/security/session/logoutAll');
$this->assertSessionMessages(
$this->equalTo(['All other open sessions for this account were terminated.']),
\Magento\Framework\Message\MessageInterface::TYPE_SUCCESS
);
$this->assertRedirect($this->stringContains('security/session/activity'));
}
}