PHPUnit include statements not working properly

Hello everyone,

I am using Travis.CI to run my unit tests and am running into problems where the include filepath statements can’t be found. The unit tests are found and ran, but the file with my functions that I want to test is not found, so it fails all the tests. When have run all the unit tests locally on the PHPStorm IDE, as well as created other test files with similar file paths and they work just fine. I am sure that I’m missing something here because I am new to travis and also to unit testing.

Here is the link to my build

And here is the link to my github repo and specifically to the test file that is failing

Help is appreciated

1 Like

Same problem… Test runs fine locally, but when it runs on the virtual server I get

include(…/…/…/path/to/thing.php): failed to open stream: No such file or directory