saucal / woocommerce-gateway-amazon-pay

Amazon Pay Gateway
0 stars 1 forks source link

Feature/checkout unit test #194

Closed dpanta94 closed 1 year ago

dpanta94 commented 1 year ago

All Submissions:

Changes proposed in this Pull Request:

Adds a base for PHP unit tests. Adds a few basic unit tests.

How to test the changes in this Pull Request:

  1. Execute ./tests/bin/install-phpunit-tests-dependencies.sh
  2. Execute npm run test:php
  3. Tests should be succesfull.

Other information:

Changelog entry

No need for changelog entry, unit tests won't be included in production plugin build.

dpanta94 commented 1 year ago

Meged in main repo