Add testcase.
This commit is contained in:
@@ -287,7 +287,9 @@ class blockTest
|
||||
|
||||
if(dao::isError()) return dao::getError();
|
||||
|
||||
return $objects;
|
||||
$objects = json_decode($objects);
|
||||
|
||||
return $objects->count;
|
||||
}
|
||||
|
||||
public function getProjectParamsTest()
|
||||
@@ -402,11 +404,11 @@ class blockTest
|
||||
|
||||
public function getQaStatisticParamsTest()
|
||||
{
|
||||
$objects = $this->objectModel->getQaStatisticParams();
|
||||
$object = $this->objectModel->getQaStatisticParams();
|
||||
|
||||
if(dao::isError()) return dao::getError();
|
||||
|
||||
return $objects;
|
||||
return json_decode($object);
|
||||
}
|
||||
|
||||
public function getRecentProjectParamsTest()
|
||||
@@ -574,7 +576,9 @@ class blockTest
|
||||
|
||||
if(dao::isError()) return dao::getError();
|
||||
|
||||
return $objects;
|
||||
$objects = json_decode($objects);
|
||||
|
||||
return $objects->type;
|
||||
}
|
||||
|
||||
public function getScrumOverviewParamsTest($module = '')
|
||||
|
||||
Reference in New Issue
Block a user