Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
prevent empty result
Browse files Browse the repository at this point in the history
  • Loading branch information
giansalex committed Feb 8, 2019
1 parent 4e44d2d commit 185f312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/bootstrap/FeatureContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function executeConsult()
*/
public function theCompanyNameShouldBe($name)
{
if (empty($name)) {
if (empty($this->result)) {
return;
}

Expand Down

0 comments on commit 185f312

Please sign in to comment.