- Issue created by @arash.poorakbar
We are covering are recipes with different tests. For that we needed to have a re-usable content creation trait. But the problem is that the trait in the Traits namespace is not loaded and the tests break. This particularly happens for recipes, as modules work fine in that sense.
For now, we have to use require_once in our code to include the trait.
Create a recipe.
Create a tests dir inside it.
Add normal tests.
Create a Traits dir.
Add a testing trait.
Try loading the trait in your test.
Active
11.0 🔥
phpunit