Correccion de las 2 lineas observadas

This commit is contained in:
Wendy Nestor
2014-01-06 14:05:54 -04:00
parent 4f2b73b30e
commit 0fc07e2aa4

View File

@@ -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;