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,19 +4,13 @@ declare(strict_types=1);
|
||||
namespace common\tests\unit;
|
||||
|
||||
use Codeception\Test\Unit;
|
||||
use Mockery;
|
||||
use common\tests\helpers\ExtendedPHPMock;
|
||||
|
||||
/**
|
||||
* @property \common\tests\UnitTester $tester
|
||||
*/
|
||||
class TestCase extends Unit {
|
||||
|
||||
/**
|
||||
* @var \common\tests\UnitTester
|
||||
*/
|
||||
protected $tester;
|
||||
|
||||
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