*autotest case.

This commit is contained in:
zhengrunyu
2022-01-18 15:42:44 +08:00
parent f7682bf7a2
commit aa79ce443c
26 changed files with 459 additions and 202 deletions

View File

@@ -10,5 +10,18 @@ pid=1
*/
class Tester
{
public function __construct($user)
{
global $tester;
su($user);
$this->program = $tester->loadModel('program');
}
}
$t = new Tester('admin');
$program = $tester->loadModel('program');
r($program->processNode(1, 0, 1, 1)) && p() && e(''); //