Files
EasySoft-ZenTaoPMS/module/action/test/model/hideall.php
T

24 lines
515 B
PHP
Executable File

#!/usr/bin/env php
<?php
include dirname(__FILE__, 5) . '/test/lib/init.php';
include dirname(__FILE__, 2) . '/lib/action.unittest.class.php';
su('admin');
zenData('action')->loadYaml('action')->gen(3);
/**
title=测试 actionModel->hideAll();
timeout=0
cid=1
- 隐藏回收站全部信息
- 第0条的extra属性 @2
- 第1条的extra属性 @2
- 第2条的extra属性 @2
*/
$action = new actionTest();
r($action->hideAllTest()) && p('0:extra;1:extra;2:extra') && e('2;2;2'); // 隐藏回收站全部信息