File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2020 $ errorString = "" ;
2121
2222 foreach ($ result ->errors ->deepAll () AS $ error ) {
23- $ errorString .= $ error ->code . "- " . $ error ->message . "\n" ;
23+ $ errorString .= ' Error: ' . $ error ->code . ": " . $ error ->message . "\n" ;
2424 }
2525
2626 $ _SESSION ["errors " ] = $ errorString ;
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ function test_transactionErrorDisplaysErrorMessage()
7676 curl_close ($ curl );
7777
7878 $ this ->assertRegExp ('/\/index.php/ ' , $ redirectUrl );
79- $ this ->assertRegExp ('/Cannot use a paymentMethodNonce more than once./ ' , $ output );
79+ $ this ->assertRegExp ('/Error: 91564: Cannot use a paymentMethodNonce more than once./ ' , $ output );
8080 }
8181
8282 function test_displaysStatusOnProcessorAndGatewayErrors ()
You can’t perform that action at this time.
0 commit comments