* Adjust getlinkedproducts unit test.

This commit is contained in:
wangyidong
2024-01-02 11:16:23 +08:00
parent abd29c8e7e
commit bbc39a7762
@@ -1,20 +1,20 @@
#!/usr/bin/env php
<?php
include dirname(__FILE__, 5) . '/test/lib/init.php';
/**
title=测试 sonarqubeModel::getLinkedProducts();
timeout=0
cid=1
cid=0
- 通过错误的sonarqubeID和projectKey获取关联产品ID @return false
- 通过正确的sonarqubeID和projectKey获取关联产品ID @1
*/
include dirname(__FILE__, 5) . '/test/lib/init.php';
zdTable('pipeline')->config('pipeline')->gen(5);
zdTable('job')->gen(5);
zdTable('repo')->gen(5);
$sonarqube = $tester->loadModel('sonarqube');