Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Development config not loaded during tests
  • 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?
  • HarroHarro
    Accepted Answer
    Unit tests run in the "test" environment, so they don't have access to "development" specific files.
  • Thanks, it worked by creating a test directory in config.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion