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