public function fixtures()
 {
     return ['user' => ['class' => UserFixture::className(), 'dataFile' => '@frontend/tests/unit/fixtures/data/models/user.php']];
 }
示例#2
0
 public function fixtures()
 {
     return ['user' => ['class' => UserFixture::className(), 'dataFile' => false]];
 }
 /**
  * @inheritdoc
  */
 public function fixtures()
 {
     return ['user' => ['class' => UserFixture::className(), 'dataFile' => '@common/tests/fixtures/data/init_login.php']];
 }
示例#4
0
 public function fixtures()
 {
     return ['post' => ['class' => PostFixture::className(), 'dataFile' => '@common/tests/unit/fixtures/data/models/post.php'], 'tags' => ['class' => TagsFixture::className(), 'dataFile' => '@common/tests/unit/fixtures/data/models/tags.php'], 'category' => ['class' => CategoryFixture::className(), 'dataFile' => '@common/tests/unit/fixtures/data/models/category.php'], 'user' => ['class' => UserFixture::className(), 'dataFile' => '@common/tests/unit/fixtures/data/models/user.php']];
 }