2013-12-02 19:25:21 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace tests\unit\models;
|
|
|
|
|
|
|
|
#use yii\test\DbTestTrait;
|
|
|
|
|
2013-12-13 23:37:08 +08:00
|
|
|
class UserTest extends \yii\codeception\TestCase
|
2013-12-02 19:25:21 +08:00
|
|
|
{
|
|
|
|
|
|
|
|
use DbTestTrait;
|
|
|
|
|
|
|
|
protected function setUp()
|
|
|
|
{
|
|
|
|
/*
|
2013-12-03 15:07:36 +08:00
|
|
|
*
|
2013-12-02 19:25:21 +08:00
|
|
|
* you can load fixtures in this way
|
|
|
|
*
|
2013-12-03 15:07:36 +08:00
|
|
|
parent::setUp();
|
2013-12-02 19:25:21 +08:00
|
|
|
$this->loadFixtures([
|
|
|
|
'tbl_user',
|
|
|
|
]);
|
|
|
|
*/
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|