+ Add unit test for storyTao getunclosedstatuskeys method.
This commit is contained in:
@@ -21,7 +21,7 @@ $story->gen(50);
|
||||
|
||||
/**
|
||||
|
||||
title=测试 storyModel->batchGetRelations();
|
||||
title=测试 storyModel->fetchProjectStoriesTest();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
|
||||
+16
@@ -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');
|
||||
Reference in New Issue
Block a user