* Fix lose automation case in testcases api.

This commit is contained in:
zhaoke
2023-04-03 17:03:00 +08:00
parent e7119d4217
commit df18d11db0
+3 -2
View File
@@ -23,8 +23,9 @@ class testcasesEntry extends entry
if(empty($productID)) $productID = $this->param('product', 0);
if(empty($productID)) return $this->sendError(400, 'Need product id.');
$this->app->cookie->caseModule = 0;
$this->app->cookie->caseSuite = 0;
$this->app->cookie->caseModule = 0;
$this->app->cookie->caseSuite = 0;
$this->app->cookie->showAutoCase = 1;
$type = $this->param('status', 'all');
$param = 0;