You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
505B

  1. <?php
  2. /**
  3. * @link http://www.yiiframework.com/
  4. * @copyright Copyright (c) 2008 Yii Software LLC
  5. * @license http://www.yiiframework.com/license/
  6. */
  7. namespace yii\codeception;
  8. use yii\test\InitDbFixture;
  9. /**
  10. * Base class for database test cases
  11. *
  12. * @author Qiang Xue <qiang.xue@gmail.com>
  13. * @since 2.0
  14. */
  15. class DbTestCase extends TestCase
  16. {
  17. /**
  18. * @inheritdoc
  19. */
  20. public function globalFixtures()
  21. {
  22. return [
  23. InitDbFixture::className(),
  24. ];
  25. }
  26. }