* Add case of execution model.
This commit is contained in:
@@ -13,6 +13,20 @@ class executionTest
|
||||
$this->objectModel = $tester->loadModel('execution');
|
||||
}
|
||||
|
||||
/**
|
||||
* Set project into session.
|
||||
*
|
||||
* @param int $executionID
|
||||
* @access public
|
||||
* @return int
|
||||
*/
|
||||
public function setProjectSessionTest($executionID)
|
||||
{
|
||||
unset($_SESSION['project']);
|
||||
$this->objectModel->setProjectSession($executionID);
|
||||
return empty($_SESSION['project']) ? 0 : $_SESSION['project'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Test save state.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user