yii2-faker
yii2-faker copied to clipboard
Path inconsistencies
(From yiisoft/yii2-app-basic#155)
This seems to match the default path for fixtures generated by yii2-faker
which is
@tests/unit/fixtures/data
However, the Yii2 Testing Documentation then gives an example of the data path as:
// fixture data located in tests/_data/user.php
'dataFile' => codecept_data_dir() . 'user.php'
Why? That is not where yii2-faker puts the generated data by default and the documentation does not explain why it is different.
Additional info
Q | A |
---|---|
Yii vesion | dev-master |
PHP version | 7.2 |
Operating system |
This issue is one of a three related issues with its corresponding PR's:
Issue | PR |
---|---|
yiisoft/yii2-app-basic#170 | yiisoft/yii2-app-basic#171 |
yiisoft/yii2#15769 | yiisoft/yii2#15770 |
yiisoft/yii2-faker#33 | yiisoft/yii2-faker#34 |