* Adjust getlinkedproducts unit test.
This commit is contained in:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user