Files
EasySoft-ZenTaoPMS/module/story/test/model/getversion.php
T
2024-03-18 17:37:53 +08:00

22 lines
380 B
PHP
Executable File

#!/usr/bin/env php
<?php
/**
title=测试 storyModel->getVersion();
cid=0
- 执行story模块的getVersion方法,参数是2 @3
*/
include dirname(__FILE__, 5) . '/test/lib/init.php';
include dirname(__FILE__, 2) . '/story.class.php';
su('admin');
zdTable('story')->gen(10);
global $tester;
$tester->loadModel('story');
r($tester->story->getVersion(2)) && p() && e('3');