Преглед на файлове

finished codeception extension

Carsten Brandt преди 12 години
родител
ревизия
39d5bd044e
променени са 1 файла, в които са добавени 6 реда и са изтрити 1 реда
  1. 6 1
      tests/unit/_bootstrap.php

+ 6 - 1
tests/unit/_bootstrap.php

@@ -1,3 +1,8 @@
 <?php
 
-// add unit testing specific bootstrap code here
+// add unit testing specific bootstrap code here
+
+yii\codeception\TestCase::$applicationConfig = yii\helpers\ArrayHelper::merge(
+	require(__DIR__ . '/../../config/web.php'),
+	require(__DIR__ . '/../../config/codeception/unit.php')
+);