File tree 1 file changed +3
-7
lines changed
1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -227,15 +227,11 @@ local npm project in a clone a project
227
227
git https://github.com/ovh/php-ovh.git
228
228
cd php-ovh
229
229
php composer.phar install
230
+ vendor/bin/phpunit tests/ApiTest.php
230
231
231
- Edit ** phpunit.xml** file with your credentials to pass functionals tests. Then,
232
- you can run directly unit and functionals tests with [ phing] ( http://www.phing.info/ ) .
232
+ To run functionals tests, you need to provide valid API credentials, that you can provide them via environment:
233
233
234
- vendor/bin/phing test
235
-
236
- To skip functionals and run unit tests only, you can use the ` only.units ` option :
237
-
238
- vendor/bin/phing test -Donly.units=true
234
+ APP_KEY=xxx APP_SECRET=xxx CONSUMER=xxx ENDPOINT=xxx vendor/bin/phpunit tests/ApiFunctionalTest.php
239
235
240
236
Supported APIs
241
237
--------------
You can’t perform that action at this time.
0 commit comments