Fixed the steps printing some output

This commit is contained in:
Christophe Coevoet
2014-01-11 00:58:21 +01:00
parent 589cd05897
commit 4a398672ee

View File

@@ -420,7 +420,7 @@ class MinkContext extends RawMinkContext implements TranslatableContext
*/
public function printCurrentUrl()
{
$this->printDebug($this->getSession()->getCurrentUrl());
echo $this->getSession()->getCurrentUrl();
}
/**
@@ -430,7 +430,7 @@ class MinkContext extends RawMinkContext implements TranslatableContext
*/
public function printLastResponse()
{
$this->printDebug(
echo (
$this->getSession()->getCurrentUrl()."\n\n".
$this->getSession()->getPage()->getContent()
);