From 4a398672eee5c8f924f60319c48c2ea6a168871f Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Sat, 11 Jan 2014 00:58:21 +0100 Subject: [PATCH] Fixed the steps printing some output --- src/Behat/MinkExtension/Context/MinkContext.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Behat/MinkExtension/Context/MinkContext.php b/src/Behat/MinkExtension/Context/MinkContext.php index c21f4dc..397a4dc 100644 --- a/src/Behat/MinkExtension/Context/MinkContext.php +++ b/src/Behat/MinkExtension/Context/MinkContext.php @@ -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() );