From 1aa10f6b8a9e499649e0ff7aea92d7433001efb7 Mon Sep 17 00:00:00 2001 From: yulujie Date: Tue, 3 Sep 2024 14:34:18 +0800 Subject: [PATCH] * [task#127262,done,0.1h] Modify function of ui test to manage products. --- module/execution/test/lib/manageproducts.ui.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/execution/test/lib/manageproducts.ui.class.php b/module/execution/test/lib/manageproducts.ui.class.php index f82e540559..410af86cd9 100644 --- a/module/execution/test/lib/manageproducts.ui.class.php +++ b/module/execution/test/lib/manageproducts.ui.class.php @@ -23,7 +23,7 @@ class manageProductsTester extends tester if($form->dom->linckedProductb === false) return $this->failed('关联产品失败'); return $this->success('关联产品成功'); } - if($form->dom->linckedProducta === true) return $this->failed('取消关联产品失败'); + if(is_object($form->dom->linckedProducta) === true) return $this->failed('取消关联产品失败'); return $this->success('取消关联产品成功'); }