You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'controllerMap' => [
'fixture' => [
'class' => 'yii\faker\FixtureController',
// please, add this line [in yii2-advanced, i dont know in basic]:'templatePath' => '@tests/codeception/common/templates/fixtures',
],
],
It will avoid this stupid error that made me (and probably many other, based in google searchs!) waste so much time to figure out where to fix that: Error: The template path "@tests/unit/templates/fixtures" does not exist
yii help fixture results should also be updated, please.
The text was updated successfully, but these errors were encountered:
One more thing: I just found that there is a specific yii cli inside tests/codeception/bin that is already using the configs in tests/codeception/config/config.php. Guess what we have there?
Docs (in general, not only Faker) does not do mention neither that specific yii for tests (when using codeception) nor above configs already present in yii2-codeception configs out of the box.
I think this is part of the programmers' big wasting of time (error messages, where-configure questions, etc) when playing tests, specially when using yii2-codeception.
Under USAGE, please change this:
It will avoid this stupid error that made me (and probably many other, based in google searchs!) waste so much time to figure out where to fix that:
Error: The template path "@tests/unit/templates/fixtures" does not exist
yii help fixture
results should also be updated, please.The text was updated successfully, but these errors were encountered: