public function updateStatus($session_id, $test_status)
	{
		$data = array('status' => $test_status ? 'completed' : 'error');
		$result = $this->execute('PUT', 'sessions/' . $session_id . '.json', $data);

		return $result['automation_session'];
	}
public function updateStatus($session_id, $test_status)
	{
		$data = array('status' => $test_status ? 'completed' : 'error');
		$result = $this->execute('PUT', 'sessions/' . $session_id . '.json', $data);

		return $result['automation_session'];
	}
public function updateStatus ( $ session_id , $ test_status ) { $ data = array ( 'status' => $ test_status ? 'completed' : 'error' ) ; $ result = $ this -> execute ( 'PUT' , 'sessions/' . $ session_id . '.json' , $ data ) ; return $ result [ 'automation_session' ] ; }
Update status of the test, that was executed in the given session.

@param string  $session_id  Session ID.
@param boolean $test_status Test status.

@return array
Update status of the test that was executed in the given session .