* code for editor unit test.

This commit is contained in:
wangyidong
2023-03-07 15:39:38 +08:00
committed by guofeilong
parent 77d435f75b
commit 5b79deefaf
19 changed files with 741 additions and 15 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/usr/bin/env php
<?php
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
include dirname(dirname(dirname(__FILE__))) . '/class/editor.class.php';
su('admin');
/**
title=测试 editorModel::getMethodCode();
cid=1
pid=1
获取todo模块的create方法的参数 >> 1
*/
$editor = new editorTest();
r($editor->getMethodCodeTest()) && p() && e(1); //获取todo模块的create方法的参数