From 0fc07e2aa45237d3ca5e9dd2481dd80c2b41a39f Mon Sep 17 00:00:00 2001 From: Wendy Nestor Date: Mon, 6 Jan 2014 14:05:54 -0400 Subject: [PATCH] Correccion de las 2 lineas observadas --- features/bootstrap/RestContext.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/features/bootstrap/RestContext.php b/features/bootstrap/RestContext.php index b6cb3d136..8f80c1487 100644 --- a/features/bootstrap/RestContext.php +++ b/features/bootstrap/RestContext.php @@ -552,7 +552,6 @@ class RestContext extends BehatContext public function theTypeIs($type) { $data = $this->_data; - print_r($data); switch ($type) { case 'string': if (is_string($data)) return; @@ -964,7 +963,7 @@ class RestContext extends BehatContext public function storeIn($varName) { if (!isset($this->_data->$varName)) { - + throw new \Exception("JSON Response does not have '$varName' property\n\n" ); } $varValue = $this->_data->$varName;