From 185f312c5fa856a39766b8c206dc5ff4b2c9ac3e Mon Sep 17 00:00:00 2001 From: Giancarlos Salas Date: Fri, 8 Feb 2019 16:09:24 -0500 Subject: [PATCH] prevent empty result --- features/bootstrap/FeatureContext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/bootstrap/FeatureContext.php b/features/bootstrap/FeatureContext.php index 13a48e2..ddfd80a 100644 --- a/features/bootstrap/FeatureContext.php +++ b/features/bootstrap/FeatureContext.php @@ -63,7 +63,7 @@ public function executeConsult() */ public function theCompanyNameShouldBe($name) { - if (empty($name)) { + if (empty($this->result)) { return; }