Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Latest commit

 

History

History
20 lines (15 loc) · 386 Bytes

File metadata and controls

20 lines (15 loc) · 386 Bytes

Laravel 5.5 API Resource Example App

Testing

Create a new file on the root folder called .env.testing and fill out the following variables (according with your database connection):

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=test_db
DB_USERNAME=homestead
DB_PASSWORD=secret
DB_SSL=disable

then just run the tests with:

vendor/bin/phpunit