mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-23 16:45:35 +08:00
fix message util test
This commit is contained in:
@@ -53,7 +53,7 @@ class MessageUtilTest extends TestCase
|
|||||||
$cmd->method = __FUNCTION__;
|
$cmd->method = __FUNCTION__;
|
||||||
EventManager::addEvent(CQCommand::class, $cmd);
|
EventManager::addEvent(CQCommand::class, $cmd);
|
||||||
$help = resolve(CommandInfoUtil::class)->getHelp(self::class . '@' . __FUNCTION__);
|
$help = resolve(CommandInfoUtil::class)->getHelp(self::class . '@' . __FUNCTION__);
|
||||||
$this->assertEquals('测试命令:无描述', $help);
|
$this->assertEquals('测试命令:作者很懒,啥也没说', $help);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user