accounts/console/tests/unit/TestCase.php

31 lines
575 B
PHP
Raw Normal View History

<?php
declare(strict_types=1);
namespace console\tests\unit;
use Codeception\Test\Unit;
2017-04-25 03:53:04 +05:30
use Mockery;
/**
* @property \console\tests\UnitTester $tester
*/
class TestCase extends Unit {
protected function tearDown(): void {
2018-04-18 02:17:25 +05:30
parent::tearDown();
Mockery::close();
}
/**
* A list of fixtures that will be loaded before the test, but after the database is cleaned up
*
* @url http://codeception.com/docs/modules/Yii2#fixtures
*
* @return array
*/
public function _fixtures(): array {
return [];
}
}