From 2e9f52b65b8fbc2d5f27e69c430bcffa0361fccb Mon Sep 17 00:00:00 2001 From: lixiaoyu Date: Wed, 4 Sep 2024 07:23:48 +0000 Subject: [PATCH] *[task#127573,done,0.2h,0h] Add empty line between function --- module/productplan/test/lib/linkbug.ui.class.php | 2 ++ module/productplan/test/lib/linkstory.ui.class.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/module/productplan/test/lib/linkbug.ui.class.php b/module/productplan/test/lib/linkbug.ui.class.php index b45931caa8..6bebca2b26 100644 --- a/module/productplan/test/lib/linkbug.ui.class.php +++ b/module/productplan/test/lib/linkbug.ui.class.php @@ -20,6 +20,7 @@ class linkBugTester extends tester $viewPage = $this->initForm('productplan', 'view', $planID, 'appIframe-product'); return ($viewPage->dom->checkInfoBug === false) ? $this->failed('关联Bug失败') : $this->success('关联Bug成功'); } + /** * 移除单个Bug * unlink bug @@ -41,6 +42,7 @@ class linkBugTester extends tester $linkNumAfter = (int) explode(' ', $viewPage->dom->bugLinkNum->getText())[1];//计划移bug后,关联的bug数 return ($linkNum -1 == $linkNumAfter) ? $this->success('移除单个bug成功') : $this->failed('移除单个bug失败'); } + /** * 移除全部bug * unlink allbug diff --git a/module/productplan/test/lib/linkstory.ui.class.php b/module/productplan/test/lib/linkstory.ui.class.php index 08cdbdfad4..e50c32177d 100644 --- a/module/productplan/test/lib/linkstory.ui.class.php +++ b/module/productplan/test/lib/linkstory.ui.class.php @@ -19,6 +19,7 @@ class linkStoryTester extends tester $viewPage = $this->initForm('productplan', 'view', $planID, 'appIframe-product'); return ($viewPage->dom->checkInfoStory === false) ? $this->failed('关联需求失败') : $this->success('关联需求成功'); } + /** * 移除单个需求 * unlink story @@ -38,6 +39,7 @@ class linkStoryTester extends tester $linkNumAfter = (int) explode(' ', $viewPage->dom->storyLinkNum->getText())[1];//计划移除需求后,关联的需求数 return ($linkNum -1 == $linkNumAfter) ? $this->success('移除单个需求成功') : $this->failed('移除单个需求失败'); } + /** * 移除全部需求 * unlink allstory