UserTest.php 297 B

12345678910111213141516171819202122232425
  1. <?php
  2. namespace tests\unit\models;
  3. #use yii\test\DbTestTrait;
  4. class UserTest extends \yii\codeception\TestCase
  5. {
  6. use DbTestTrait;
  7. protected function setUp()
  8. {
  9. /*
  10. *
  11. * you can load fixtures in this way
  12. *
  13. parent::setUp();
  14. $this->loadFixtures([
  15. 'tbl_user',
  16. ]);
  17. */
  18. }
  19. }