Love Fuel?
Donate
About
Forums
Discussions
Login
FuelPHP Forums
Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
General
Development config not loaded during tests
Pascal Le Merrer
December 2012
Hi,
I'm using Fuel 1.2.1.
My PHPUnit tests are broken since I moved my config files to config/development and config /production subdirectories. The config files are not loaded.
The same applies to tasks.
How could I solve this?
Harro
December 2012
Accepted Answer
Unit tests run in the "test" environment, so they don't have access to "development" specific files.
Pascal Le Merrer
December 2012
Thanks, it worked by creating a test directory in config.
Add a Comment
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
5,088
General
↳ General
3,364
↳ Job Board
13
↳ Installation & Setup
214
Packages
↳ Oil
213
↳ Orm
700
↳ Auth
260
Development
↳ Tips and Tutorials
126
↳ Code share
145
↳ Applications
52
In this Discussion
Harro
December 2012
Pascal Le Merrer
December 2012