Переписаны тесты для AccountQueueController, чтобы они не делали запросов в сеть

Забыл комитнуть изменения для консольных тестов
This commit is contained in:
ErickSkrauch
2016-10-31 02:47:18 +03:00
parent 6af7b4325c
commit 7ec87e0602
6 changed files with 160 additions and 95 deletions
+20 -7
View File
@@ -1,11 +1,24 @@
<?php
namespace tests\codeception\console\unit;
/**
* @inheritdoc
*/
class TestCase extends \yii\codeception\TestCase
{
public $appConfig = '@tests/codeception/config/console/config.php';
use Codeception\Test\Unit;
class TestCase extends Unit {
/**
* @var \tests\codeception\console\UnitTester
*/
protected $tester;
/**
* Список фикстур, что будут загружены перед тестом, но после зачистки базы данных
*
* @url http://codeception.com/docs/modules/Yii2#fixtures
*
* @return array
*/
public function _fixtures() {
return [];
}
}