yii2-faker icon indicating copy to clipboard operation
yii2-faker copied to clipboard

Path inconsistencies

Open ricpelo opened this issue 7 years ago • 1 comments

(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

ricpelo avatar Feb 25 '18 11:02 ricpelo

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

ricpelo avatar Feb 28 '18 11:02 ricpelo