diff --git a/composer.json b/composer.json index a461324..d035a97 100644 --- a/composer.json +++ b/composer.json @@ -8,6 +8,9 @@ "ext-pdo": "*", "ext-mbstring": "*" }, + "scripts": { + "test": "phpunit tests" + }, "autoload": { "psr-4": { "Steamy\\": "src/", diff --git a/docs/USAGE_GUIDE.md b/docs/USAGE_GUIDE.md index f243892..a84fbab 100644 --- a/docs/USAGE_GUIDE.md +++ b/docs/USAGE_GUIDE.md @@ -24,5 +24,5 @@ Go to http://localhost/steamy-sips/public/ in your browser to see the website. To run tests: ```bash -./vendor/bin/phpunit tests +composer tests ``` \ No newline at end of file