Skip to content

Commit

Permalink
Merge pull request #182 from PluginAndPartners/release/3.12.1
Browse files Browse the repository at this point in the history
Release 3.12.1
  • Loading branch information
DouglasCorreiaMeli authored Oct 25, 2021
2 parents 60ac683 + 7140c98 commit b0596d7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bin/pull-request-coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ export PHPUNIT_FILES=$(curl -H "Accept: application/vnd.github.v3+json" https://
| grep -E 'php"$' \
| xargs)

php magento2/app/code/MercadoPago/Test/pull-request-coverage-checker.php clover.xml 80 $PHPUNIT_FILES
php magento2/app/code/MercadoPago/Test/pull-request-coverage-checker.php clover.xml 40 $PHPUNIT_FILES
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ services:
build:
context: .
dockerfile: Dockerfile
args:
username: root
container_name: magento-php
links:
- mysql
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,10 @@ define(
},

getFingerPrintLink: function () {
return configPayment['fingerprint_link'];
if (window.checkoutConfig.payment[this.getCode()] !== undefined) {
return window.checkoutConfig.payment[this.getCode()]['fingerprint_link'];
}
return '';
},

getSuccessUrl: function () {
Expand Down
2 changes: 2 additions & 0 deletions src/MercadoPago/Test/pull-request-coverage-checker.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,5 @@

print_r('Code coverage is ' . round($coverage, 2) . '%, which is below the accepted ' . $percentage . '%');
print_r(' -> Pull Request Rejected');

throw new Exception('Code coverage is ' . round($coverage, 2) . '%, which is below the accepted ' . $percentage . '%');

0 comments on commit b0596d7

Please sign in to comment.