Content-Length: 260869 | pFad | http://github.com/Payum/PaypalRest/commit/87ef8dd57d77ffa53ac52635ac430eff10309f03

20 Fix expectExceptionMessageRegExp expectation · Payum/PaypalRest@87ef8dd · GitHub
Skip to content

Commit 87ef8dd

Browse files
committed
Fix expectExceptionMessageRegExp expectation
1 parent 6a33ce2 commit 87ef8dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/PaypalRestGatewayFactoryTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ public function testShouldThrowIfConfigPathOptionsNotEqualPaypalPath()
115115
define('PP_CONFIG_PATH', __DIR__);
116116
$this->expectException(\Payum\Core\Exception\InvalidArgumentException::class);
117117

118-
if (method_exists($this, 'expectExceptionMessageMatches')) {
119-
$this->expectExceptionMessageMatches('/Given \"config_path\" is invalid. \w+/');
118+
if (method_exists($this, 'expectExceptionMessageRegExp')) {
119+
$this->expectExceptionMessageRegExp('/Given \"config_path\" is invalid. \w+/');
120120
} else {
121121
$this->expectExceptionMessageMatches('/Given \"config_path\" is invalid. \w+/');
122122
}

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/Payum/PaypalRest/commit/87ef8dd57d77ffa53ac52635ac430eff10309f03

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy