mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-11-08 03:50:50 +08:00
chore(notice): 规范修复与安装演练收尾
This commit is contained in:
@@ -4,11 +4,11 @@ declare(strict_types=1);
|
||||
|
||||
namespace tests\Feature;
|
||||
|
||||
use app\common\service\NoticeService;
|
||||
use app\common\test\TestCase;
|
||||
use base\common\notice\channel\EmailChannel;
|
||||
use base\common\notice\channel\SmsChannel;
|
||||
use base\common\notice\channel\WechatChannel;
|
||||
use app\common\service\NoticeService;
|
||||
use think\facade\Cache;
|
||||
use think\facade\Db;
|
||||
|
||||
@@ -101,11 +101,11 @@ class NoticeChannelTest extends TestCase
|
||||
private function setNotifyConfig(string $name, string $value): void
|
||||
{
|
||||
Db::name('system_config')->insert([
|
||||
'name' => $name,
|
||||
'group' => 'notify',
|
||||
'value' => $value,
|
||||
'remark' => 'NoticeChannelTest fixture',
|
||||
'sort' => 100,
|
||||
'name' => $name,
|
||||
'group' => 'notify',
|
||||
'value' => $value,
|
||||
'remark' => 'NoticeChannelTest fixture',
|
||||
'sort' => 100,
|
||||
'create_time' => time(),
|
||||
'update_time' => time(),
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user