* Add case for program model.

This commit is contained in:
田淑杰
2023-01-06 10:44:25 +08:00
parent 85c2702bee
commit 678cb12e20
2 changed files with 45 additions and 0 deletions
+12
View File
@@ -15,6 +15,18 @@ class programTest
$this->program = $tester->loadModel('program');
}
/**
* Get switcher.
*
* @param int $programID
* @access public
* @return string
*/
public function getSwitcherTest($programID = 0)
{
return $this->program->getSwitcher($programID);
}
/**
* Get list by search.
*