+ Move unit test from test directory to each module.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
include dirname(__FILE__, 5) . "/test/lib/init.php"; su('admin');
|
||||
include dirname(__FILE__, 2) . '/bug.class.php';
|
||||
|
||||
/**
|
||||
|
||||
title=bugModel->getDataOfBugsPerActivatedCount();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
获取bug激活次数数据 >> 激活次数:0,315
|
||||
|
||||
*/
|
||||
|
||||
$bug=new bugTest();
|
||||
r($bug->getDataOfBugsPerActivatedCountTest()) && p('0:name,value') && e('激活次数:0,315'); // 获取bug激活次数数据
|
||||
Reference in New Issue
Block a user