First of all, you guys are doing awesome work, I really like what I'm seeing so far, and I know there are things yet to complete, particularly with docs, but so far great progress! Kudos!
I wanted to check the test coverage on the project, however, I'm getting errors when trying to run the tests, I might be doing something wrong, hopefully, you can give me a hand.
These are the steps I'm doing
- Clone the repo
git clone https://github.com/getcandy/candy-api candy
I didn't change anything else.
phpunit.xml looks configured to use
sqlite as the testing database.
I'm using Laravel Homestead as my dev environment, latest version.
Below the error I'm getting, it seems to be an issue when migrating the tables.
PHPUnit 8.5.5 by Sebastian Bergmann and contributors.
Time: 529 ms, Memory: 28.00 MB
There was 1 error:
Illuminate\Database\QueryException: SQLSTATE[HY000]: General error: 1 no such table: languages (SQL: insert into "languages" ("lang", "iso", "name", "default", "updated_at", "created_at") values (en, gb, English, 1, 2020-05-24 17:37:54, 2020-05-24 17:37:54))