mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Добавлен Mockery
This commit is contained in:
@@ -3,6 +3,7 @@ modules:
|
||||
enabled:
|
||||
- Yii2:
|
||||
part: [orm, email, fixtures]
|
||||
- tests\codeception\common\_support\Mockery
|
||||
config:
|
||||
Yii2:
|
||||
configFile: '../config/console/unit.php'
|
||||
|
@@ -2,6 +2,7 @@
|
||||
namespace tests\codeception\console\unit;
|
||||
|
||||
use Codeception\Test\Unit;
|
||||
use Mockery;
|
||||
|
||||
class TestCase extends Unit {
|
||||
|
||||
@@ -21,4 +22,9 @@ class TestCase extends Unit {
|
||||
return [];
|
||||
}
|
||||
|
||||
protected function tearDown() {
|
||||
parent::tearDown();
|
||||
Mockery::close();
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user