* [task#12323,doing,1h,3h] add application array param.

This commit is contained in:
luxuyang
2024-07-22 08:24:01 +08:00
committed by 陆旭阳
parent 52bc1fe36d
commit 2c52810e6b
+10 -1
View File
@@ -14,7 +14,16 @@ function randomString($length = 4)
}
return $randomString;
}
$application = array('customName' => 'zdoo' . time(), 'customDomain' => randomString());
$application = array(
'customName' => 'zdoo' . time(),
'customDomain' => randomString(),
'appType' => 'GitLab',
'name' => 'app' . time(),
'url' => 'http://10.0.7.242:9980',
'token' => 'y2UBqwPPzaLxsniy8R6A'
);
$url = array('id' => 55);
r($tester->createApplication($url, $application)) && p('message,status') && e('创建应用成功,SUCCESS'); //验证创建zdoo应用