original_string: 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'];
  	}
code: 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'];
  	}
code_tokens: 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' ] ; }
docstring: 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
docstring_tokens: Update status of the test that was executed in the given session .