bosnadev / database

An extended PostgreSQL driver for Laravel 5 with support for some aditional PostgreSQL data types: hstore, uuid, jsonb.
https://bosnadev.com
MIT License
78 stars 68 forks source link

Loading BaseTestCase in production autoload #16

Closed jimmypuckett closed 9 years ago

jimmypuckett commented 9 years ago

You are loading BaseTestCase in prod, but there does not seem to be a need to. I want to move it to the -dev autoload. I am about 5 min from making a PR. I just wanted an issue number to reference.

This is causing us an issue as we strip "tests" from vendor folders when pushing to prod servers to make the transfer as small as possible. Since you are loading that file from the test folder in prod, then composer dies for us.

I have grep'ed through the code & only see references to it from files in the test folder, so I am hoping that this will be a non-issue & we can make the change.

Thanks for your time & work on this package.