30 lines
520 B
PHP
Executable File
30 lines
520 B
PHP
Executable File
<?php
|
|
|
|
namespace tests\codeception\unit;
|
|
|
|
use tests\codeception\fixtures\AdminFixture;
|
|
|
|
/**
|
|
* Description of TestCase
|
|
*
|
|
* @author Misbahul D Munir <misbahuldmunir@gmail.com>
|
|
* @since 1.0
|
|
*/
|
|
class TestCase extends \yii\codeception\TestCase
|
|
{
|
|
public $appConfig = '@tests/codeception/config/unit.php';
|
|
|
|
protected function setUp()
|
|
{
|
|
parent::setUp();
|
|
$this->loadFixtures();
|
|
}
|
|
|
|
public function fixtures()
|
|
{
|
|
return[
|
|
AdminFixture::className(),
|
|
];
|
|
}
|
|
}
|