Пример #1
0
 /**
  * @inheritdoc
  */
 public function fixtures()
 {
     return ['article' => ['class' => ArticleFixture::className(), 'dataFile' => '@tests/codeception/common/fixtures/data/article.php'], 'article_category' => ['class' => ArticleCategoryFixture::className(), 'dataFile' => '@tests/codeception/common/fixtures/data/article_category.php'], 'article_attachment' => ['class' => ArticleAttachmentFixture::className(), 'dataFile' => '@tests/codeception/common/fixtures/data/article_attachment.php'], 'user' => ['class' => UserFixture::className(), 'dataFile' => '@tests/codeception/common/fixtures/data/user.php'], 'user_profile' => ['class' => UserProfileFixture::className(), 'dataFile' => '@tests/codeception/common/fixtures/data/user_profile.php']];
 }
Пример #2
0
 public function fixtures()
 {
     return ['user' => ['class' => UserFixture::className()], 'userProfile' => ['class' => UserProfileFixture::className()], 'userPrivilege' => ['class' => UserPrivilegeFixture::className()], 'authAssignment' => ['class' => AuthAssignmentFixture::className()]];
 }