mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Get rid of mockery library. Still have some troubles with functional tests for api
This commit is contained in:
@@ -4,5 +4,4 @@ modules:
|
||||
- Yii2:
|
||||
part: [orm, email, fixtures]
|
||||
configFile: tests/config/unit.php
|
||||
- common\tests\_support\Mockery
|
||||
- common\tests\_support\queue\CodeceptionQueueHelper
|
||||
|
@@ -4,17 +4,13 @@ declare(strict_types=1);
|
||||
namespace console\tests\unit;
|
||||
|
||||
use Codeception\Test\Unit;
|
||||
use Mockery;
|
||||
use common\tests\helpers\ExtendedPHPMock;
|
||||
|
||||
/**
|
||||
* @property \console\tests\UnitTester $tester
|
||||
*/
|
||||
class TestCase extends Unit {
|
||||
|
||||
protected function tearDown(): void {
|
||||
parent::tearDown();
|
||||
Mockery::close();
|
||||
}
|
||||
use ExtendedPHPMock;
|
||||
|
||||
/**
|
||||
* A list of fixtures that will be loaded before the test, but after the database is cleaned up
|
||||
|
Reference in New Issue
Block a user