2016-01-02 19:13:18 +05:30
|
|
|
<?php
|
|
|
|
namespace tests\codeception\common\unit;
|
|
|
|
|
2017-04-25 03:53:04 +05:30
|
|
|
use Mockery;
|
|
|
|
|
2018-04-18 02:17:25 +05:30
|
|
|
class TestCase extends \Codeception\Test\Unit {
|
2016-05-13 14:33:00 +05:30
|
|
|
|
2016-10-29 05:53:29 +05:30
|
|
|
/**
|
|
|
|
* @var \tests\codeception\common\UnitTester
|
|
|
|
*/
|
|
|
|
protected $tester;
|
|
|
|
|
2018-04-18 02:17:25 +05:30
|
|
|
protected function tearDown() {
|
|
|
|
parent::tearDown();
|
|
|
|
Mockery::close();
|
|
|
|
}
|
|
|
|
|
2016-10-29 05:53:29 +05:30
|
|
|
/**
|
|
|
|
* Список фикстур, что будут загружены перед тестом, но после зачистки базы данных
|
|
|
|
*
|
|
|
|
* @url http://codeception.com/docs/modules/Yii2#fixtures
|
|
|
|
*
|
|
|
|
* @return array
|
|
|
|
*/
|
|
|
|
public function _fixtures() {
|
|
|
|
return [];
|
|
|
|
}
|
2016-05-13 14:33:00 +05:30
|
|
|
|
2016-01-02 19:13:18 +05:30
|
|
|
}
|