Fix Adyen\DataTest (#511)
* Fix Adyen\DataTest This one is a bit more complex. DataTest depends on some external classes from Magento, so I set up a config and a bootstrap files for testing. While I was at this, I also made the dependencies a bit more strict. * Update php requirement to match with Magento 2.2.8
Showing
Test/bootstrap.php
0 → 100644
Test/phpunit.xml
0 → 100644
... | ... | @@ -16,7 +16,11 @@ |
"require": { | ||
"adyen/php-api-library": "~2.1", | ||
"magento/framework": ">=101.0.8 <102 || >=102.0.1", | ||
"magento/module-vault": "101.*" | ||
"magento/module-vault": "101.*", | ||
"php": "~7.0.13|~7.1.0" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "~6.5.0" | ||
}, | ||
"autoload": { | ||
"files": [ | ||
... | ... | @@ -30,5 +34,11 @@ |
"psr-4": { | ||
"Adyen\\Payment\\Tests\\": "tests/" | ||
} | ||
}, | ||
"scripts": { | ||
"test": [ | ||
"Composer\\Config::disableProcessTimeout", | ||
"vendor/bin/phpunit -c Test/phpunit.xml" | ||
] | ||
} | ||
} |
Please register or sign in to comment