2016-01-02 19:13:18 +05:30
|
|
|
<?php
|
2019-02-21 01:28:52 +05:30
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
namespace console\tests\unit;
|
2016-01-02 19:13:18 +05:30
|
|
|
|
2024-12-02 15:40:55 +05:30
|
|
|
use AllowDynamicProperties;
|
2016-10-31 05:17:18 +05:30
|
|
|
use Codeception\Test\Unit;
|
2019-12-14 02:46:05 +05:30
|
|
|
use common\tests\helpers\ExtendedPHPMock;
|
2024-12-02 15:40:55 +05:30
|
|
|
use console\tests\UnitTester;
|
2016-10-31 05:17:18 +05:30
|
|
|
|
2019-02-21 01:28:52 +05:30
|
|
|
/**
|
2024-12-02 15:40:55 +05:30
|
|
|
* @property UnitTester $tester
|
2019-02-21 01:28:52 +05:30
|
|
|
*/
|
2024-12-02 15:40:55 +05:30
|
|
|
#[AllowDynamicProperties]
|
2016-10-31 05:17:18 +05:30
|
|
|
class TestCase extends Unit {
|
2019-12-14 02:46:05 +05:30
|
|
|
use ExtendedPHPMock;
|
2018-04-18 02:17:25 +05:30
|
|
|
|
2016-10-31 05:17:18 +05:30
|
|
|
/**
|
2019-07-15 04:29:56 +05:30
|
|
|
* A list of fixtures that will be loaded before the test, but after the database is cleaned up
|
2016-10-31 05:17:18 +05:30
|
|
|
*
|
|
|
|
* @url http://codeception.com/docs/modules/Yii2#fixtures
|
|
|
|
*
|
|
|
|
* @return array
|
|
|
|
*/
|
2019-02-21 01:28:52 +05:30
|
|
|
public function _fixtures(): array {
|
2016-10-31 05:17:18 +05:30
|
|
|
return [];
|
|
|
|
}
|
|
|
|
|
2016-01-02 19:13:18 +05:30
|
|
|
}
|