Skip to content

Commit

Permalink
Fix regex check
Browse files Browse the repository at this point in the history
  • Loading branch information
pierredup committed May 5, 2022
1 parent e34d5c4 commit a7c2208
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public function shouldThrowIfConfigPathOptionsNotEqualPaypalPath()
if (method_exists($this, 'expectExceptionMessageMatches')) {
$this->expectExceptionMessageMatches('/Given \"config_path\" is invalid. \w+/');
} else {
$this->expectExceptionMessageMatches('/Given \"config_path\" is invalid. \w+/');
$this->expectExceptionMessageRegExp('/Given \"config_path\" is invalid. \w+/');
}

$factory = new PaypalRestGatewayFactory();
Expand Down

0 comments on commit a7c2208

Please sign in to comment.