ltsecurityinc安防产品在线商城代码

This commit is contained in:
2026-09-14 17:47:10 +08:00
parent 57d8444c15
commit 6a3c9c5bd8
14539 changed files with 1775310 additions and 0 deletions
@@ -0,0 +1,24 @@
<?php
/***
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\AdminNotification\Controller\Adminhtml\Notification;
/**
* Testing markAsRead controller.
*
* @magentoAppArea adminhtml
*/
class MarkAsReadTest extends \Magento\TestFramework\TestCase\AbstractBackendController
{
/**
* @inheritdoc
*/
protected function setUp(): void
{
$this->resource = 'Magento_AdminNotification::mark_as_read';
$this->uri = 'backend/admin/notification/markasread';
parent::setUp();
}
}
@@ -0,0 +1,19 @@
<?php
/***
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\AdminNotification\Controller\Adminhtml\Notification;
use Magento\Framework\App\Request\Http as HttpRequest;
class MassMarkAsReadTest extends \Magento\TestFramework\TestCase\AbstractBackendController
{
protected function setUp(): void
{
$this->resource = 'Magento_AdminNotification::mark_as_read';
$this->uri = 'backend/admin/notification/massmarkasread';
$this->httpMethod = HttpRequest::METHOD_POST;
parent::setUp();
}
}
@@ -0,0 +1,19 @@
<?php
/***
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\AdminNotification\Controller\Adminhtml\Notification;
use Magento\Framework\App\Request\Http as HttpRequest;
class MassRemoveTest extends \Magento\TestFramework\TestCase\AbstractBackendController
{
protected function setUp(): void
{
$this->resource = 'Magento_AdminNotification::adminnotification_remove';
$this->uri = 'backend/admin/notification/massremove';
$this->httpMethod = HttpRequest::METHOD_POST;
parent::setUp();
}
}
@@ -0,0 +1,16 @@
<?php
/***
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\AdminNotification\Controller\Adminhtml\Notification;
class RemoveTest extends \Magento\TestFramework\TestCase\AbstractBackendController
{
protected function setUp(): void
{
$this->resource = 'Magento_AdminNotification::adminnotification_remove';
$this->uri = 'backend/admin/notification/remove';
parent::setUp();
}
}