php artisan passport:keys
php artisan passport:client --personal
.env. If you see a "Not enough rights to update an object near line:1" error when seeding your database, you're using the Search-Only key—swap it out for the Admin key.
php artisan scout:import "App\Package"
php artisan db:seed
http://novapackages.test/login/github/callbackas the Authorized Callback URL
GITHUB_CLIENT_IDand
GITHUB_CLIENT_SECRETin the
.envfile.
SLACK_URLvariable to your
.envto post to a Slack channel of your choosing.
Note: This webhook is hit when certain events are fired. If you are not testing this webhook specifically, you may want to consider commenting it out to avoid sending unnecessary Slack notifications.
php artisan storage:link
Some of the tests in this suite depend on an active internet connection, and will run by default.
tests/Feature/RepoTest.phpprovides coverage for the ReadMe import feature, and
tests/Feature/CheckPackageUrlsCommandTest.phpprovides coverage for the command that periodically validates package urls.
For convenience, these tests have been added to the
integrationgroup. If you would like to exlude these tests from running, you may do so by using phpunit's
--exclude-groupoption:
phpunit --exclude-group=integration