+ Add unit test for storyTao getunclosedstatuskeys method.

This commit is contained in:
wangyidong
2023-05-11 21:01:52 +08:00
parent 789686e14f
commit 272ce8e028
2 changed files with 17 additions and 1 deletions
@@ -21,7 +21,7 @@ $story->gen(50);
/**
title=测试 storyModel->batchGetRelations();
title=测试 storyModel->fetchProjectStoriesTest();
cid=1
pid=1
+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/env php
<?php
include dirname(__FILE__, 5) . "/test/lib/init.php";
/**
title=测试 storyModel->getUnclosedStatusKeys();
cid=1
pid=1
*/
global $tester;
$storyModel = $tester->loadModel('story');
r(implode('|', $storyModel->getUnclosedStatusKeys())) && p() && e('|draft|reviewing|active|changing');