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