* Refactor testcaseModel::getStoryCaseCount, and modify its unit test.

This commit is contained in:
liumengyi
2023-09-12 10:40:21 +08:00
parent 6c01129b64
commit 8cb70bd7ee
3 changed files with 20 additions and 14 deletions
+3 -2
View File
@@ -318,13 +318,14 @@ class testcaseTest
}
/**
* 测试获取需求列表关联的用例数量数组。
* Test get counts of some stories' cases.
*
* @param array $stories
* @access public
* @return void
* @return array
*/
public function getStoryCaseCountsTest($stories)
public function getStoryCaseCountsTest(array $stories): array
{
$counts = $this->objectModel->getStoryCaseCounts($stories);