Beispiel #1
0
 public function fixtures()
 {
     return ['post' => ['class' => PostFixture::className(), 'dataFile' => '@common/tests/unit/fixtures/data/models/post.php']];
 }
Beispiel #2
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']];
 }