HiAPI PACT
How to run test?
First of all you should setup auth_login
and auth_password
env variables to phpunit.consumer.local.xml
Then you should check out the WEB_SERVER_HOST
const in phpunit.provider.local.xml
Then run consumer tests to generate pact
$ php phpunit --configuration phpunit.consumer.local.xml
After all you can run provider tests
$ php phpunit --configuration phpunit.provider.local.xml