Replies: 2 comments
-
Can you share your unit.suite.yml and acceptance.suite.yml and codeception configuration files? |
Beta Was this translation helpful? Give feedback.
0 replies
-
acceptance.suite.yml:
unit.suite.yml
codeception.yml
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With Codeception unit tests, in order to use
Craft::$app
object in tests, i need to add\craft\test\Craft
toenabled
section ofunit.suite.yml
. Otherwise, this object returnsnull
.When i try to do the same with acceptance tests and
acceptance.suite.yml
and i try to run tests i get this error:When i remove
PhpBrowser
from enabled i dont get this error, but this module is needed for running tests.How can this problem be solved?
Beta Was this translation helpful? Give feedback.
All reactions