Initial commit,修正
This commit is contained in:
+29
@@ -0,0 +1,29 @@
|
||||
<?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(),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user