* Add test of program model.

This commit is contained in:
tianshujie
2023-01-05 10:44:51 +08:00
parent e3654d8d2b
commit edb17bfdc7
2 changed files with 19 additions and 18 deletions
+2 -2
View File
@@ -22,7 +22,7 @@ class programTest
* @access public
* @return object
*/
public function create($data)
public function createTest($data)
{
$_POST = $data;
@@ -30,7 +30,7 @@ class programTest
if(dao::isError()) return array('message' => dao::getError());
$program = $this->program->getById($programID);
$program = $this->program->getByID($programID);
return $program;
}