From 2c41c920ee04f963e3f4e15e3b57d0aba166664e Mon Sep 17 00:00:00 2001 From: sunguangming Date: Thu, 3 Apr 2025 08:01:02 +0000 Subject: [PATCH] * [misc] modify unit test. --- module/execution/test/model/getsearchtasks.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/module/execution/test/model/getsearchtasks.php b/module/execution/test/model/getsearchtasks.php index ba976c8cb8..fdf70a4170 100755 --- a/module/execution/test/model/getsearchtasks.php +++ b/module/execution/test/model/getsearchtasks.php @@ -42,10 +42,10 @@ cid=1 */ $condition = array(); -$condition[] = "execution = '3' and deleted = '0' and parent >= 0"; -$condition[] = "type = 'devel' and fromBug != '0' and parent >= 0"; -$condition[] = "execution = '3' and story != '0' and parent >= 0"; -$condition[] = "module like '%2%' and type = 'design' and parent >= 0"; +$condition[] = "t1.execution = '3' and t1.deleted = '0' and t1.parent >= 0"; +$condition[] = "t1.type = 'devel' and t1.fromBug != '0' and t1.parent >= 0"; +$condition[] = "t1.execution = '3' and t1.story != '0' and t1.parent >= 0"; +$condition[] = "t1.module like '%2%' and t1.type = 'design' and t1.parent >= 0"; $recPerPage = array('3', '5'); $orderBy = array('id_desc', 'id_asc');