DakuTree / manga-tracker

A cross-site manga-tracker.
https://trackr.moe
GNU General Public License v2.0
95 stars 15 forks source link

Unable to run php unit tests locally #395

Closed LoganGirard closed 5 years ago

LoganGirard commented 5 years ago

When I try to run 'phpunit .' in the tests folder, I get the following:

Your system folder path does not appear to be set correctly. Please open the following file and correct this: Bootstrap.php

Issue seems to be that the system path: '../../vendor/codeigniter/framework/system'

is not committed so my path resolution fails. Should that part be committed?

DakuTree commented 5 years ago

/vendor/ is composer dependencies, so a composer install is needed.

You can also have a look at the travis.yml file for further example on how we run tests.