- Remove unused files.

This commit is contained in:
caoyanyi
2023-08-25 17:03:35 +08:00
parent 54d79d8e61
commit 3266354fe7
2 changed files with 0 additions and 46 deletions
@@ -1,23 +0,0 @@
#!/usr/bin/env php
<?php
include dirname(__FILE__, 5) . '/test/lib/init.php';
include dirname(__FILE__, 2) . '/project.class.php';
su('admin');
/**
title=测试 projectModel::updateUserViewByProject();
cid=1
pid=1
*/
global $tester;
$tester->app->loadConfig('execution');
$project = new Project();
$oldProject = new stdclass();
$data = new stdclass();
r($project->updateUserViewByProject(1, '') && p('') && e(1); // 更新项目关联的用户视图。
r($project->updateUserViewByProject(2, 'open') && p('') && e(1); // 更新项目关联的用户视图。
@@ -1,23 +0,0 @@
#!/usr/bin/env php
<?php
include dirname(__FILE__, 5) . '/test/lib/init.php';
include dirname(__FILE__, 2) . '/project.class.php';
su('admin');
/**
title=测试 projectModel::updateWhitelistByProject();
cid=1
pid=1
*/
global $tester;
$tester->app->loadConfig('execution');
$project = new Project();
$oldProject = new stdclass();
$data = new stdclass();
r($project->updateWhitelistByProject(1, $data, $oldProject) && p('') && e(1); // 更新关联的白名单列表。
r($project->updateWhitelistByProject(2, $data, $oldProject) && p('') && e(1); // 更新关联的白名单列表。