+ add the tests example of bug.

This commit is contained in:
wangchunsheng
2011-06-21 06:27:31 +00:00
parent 000986c1de
commit e8e725ef98
2 changed files with 17 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env php
<?php
/**
* 测试setMenu.
*/
include '../../../test/init.php';
include '../model.php';
$app->user->account = 'test';
$bug = new bugModel();
$bug->setMenu(array(1, 2, 3), 1);
print_r($lang->bug->menu->product);