W
W
webviewer2018-08-25 18:33:52
Yii
webviewer, 2018-08-25 18:33:52

How to use application classes in a test?

Available in the Yii2 basic project

"codeception/base": "^2.2.3",
        "codeception/verify": "~0.3.1",
        "codeception/specify": "~0.4.3"

Made a trial Unit test and when trying to create an object of any class
Similar errors
[Error] Class app\model\User not found

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question