瀏覽代碼

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')
+);