* Add switchDB by tests.

This commit is contained in:
liyang
2022-08-09 14:11:38 +08:00
parent 40ba4c8a9e
commit 3bd5ccc13f
881 changed files with 3058 additions and 1826 deletions
+5 -5
View File
@@ -8,11 +8,11 @@ title=测试 gitlabModel::createBranch();
cid=1
pid=1
使用空的gitlabID、projectID、分支创建GitLab分支 >> return false
使用空的gitlabID、projectID,正确的分支创建GitLab分支 >> return false
使用空的gitlabID,projectID,分支对象创建GitLab分支 >> return false
使用空的gitlabID、projectID,正确的分支对象创建GitLab分支 >> return false
使用正确的gitlabID、分支信息,错误的projectID创建分支 >> return false
使用正确的gitlabID,projectID,分支创建GitLab分支 >> return true
使用重复的分支信息创建分支 >> return false
通过gitlabID,projectID,分支对象正确创建GitLab分支 >> return true
使用重复的分支信息创建分支 >> return false
*/
@@ -52,4 +52,4 @@ r($result) && p() && e('return true'); //通过gitlabID,projectID,分支对象
$result = $gitlab->createBranch($gitlabID, $projectID);
if($result === false) $result = 'return false';
r($result) && p() && e('return false'); //使用重复的分支信息创建分支
r($result) && p() && e('return false'); //使用重复的分支信息创建分支