Calling Developers!
We are reenergizing our code contribution process! Learn More

What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hello! I've created my test and trying to run it. But i getting error " [PHPUnit\Framework\Exception

Options
U021WPVTUS2
U021WPVTUS2 Posts: 25 🧑🏻‍🚀 - Cadet

Hello! I've created my test and trying to run it. But i getting error
" [PHPUnit\Framework\Exception] Use of undefined constant APPLICATION_ENV - assumed 'APPLICATION_ENV' (this will throw an Error in a future version of PHP) ". Someone know how to fix it?

Comments

  • schoenfeld
    schoenfeld Solution Architect Posts: 28 🧑🏻‍🚀 - Cadet
    Options

    check your helpers in codeception.yml, iirc its set there somewhere (maybe EnvironmentHelper)

  • U021WPVTUS2
    U021WPVTUS2 Posts: 25 🧑🏻‍🚀 - Cadet
    Options

    @UKCNJ91MX It helps me. Thank you!