Commit 7affbd1b authored by Tobias Munk's avatar Tobias Munk

fixed tests

parent 35c83fbf
......@@ -52,12 +52,12 @@ $mainConfig = array(
'application.components.*',
'zii.widgets.*',
// TODO: should be handled by composer autoloader
'vendor.phundament.gii-template-collection.components.*', // Relation Widget
'vendor.phundament.p3widgets.components.*', // P3WidgetContainer, P3Reference Widget
'vendor.phundament.p3extensions.components.*', // shared classes
'vendor.phundament.p3extensions.behaviors.*', // shared classes
'vendor.phundament.p3extensions.widgets.*', // shared classes
'vendor.phundament.p3extensions.helpers.*', // shared classes - P3StringHelper
'vendor.phundament.p3extensions.validators.*', // shared classes - P3StringHelper
'vendor.phundament.p3pages.models.*', // Meta description and keywords (P3Media)
// imports for components from packages, which do not support composer autoloading
'vendor.mishamx.yii-user.models.*', // User Model
......
......@@ -7,4 +7,7 @@ $config=dirname(__FILE__).'/../../../../app/config/test.php';
require_once($yiit);
//require_once(dirname(__FILE__).'/WebTestCase.php');
// require composer autoloader
require_once(dirname(__FILE__).'/../../../../vendor/autoload.php');
if (!Yii::app()) Yii::createWebApplication($config);
......@@ -242,16 +242,16 @@
},
{
"name": "phundament/p3extensions",
"version": "0.15.0",
"version": "0.15.1",
"source": {
"type": "git",
"url": "https://github.com/schmunk42/p3extensions.git",
"reference": "0.15.0"
"reference": "0.15.1"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/schmunk42/p3extensions/zipball/0.15.0",
"reference": "0.15.0",
"url": "https://api.github.com/repos/schmunk42/p3extensions/zipball/0.15.1",
"reference": "0.15.1",
"shasum": ""
},
"require": {
......@@ -277,29 +277,29 @@
"phundament"
],
"support": {
"source": "https://github.com/schmunk42/p3extensions/tree/0.15.0",
"source": "https://github.com/schmunk42/p3extensions/tree/0.15.1",
"issues": "https://github.com/schmunk42/p3extensions/issues"
},
"time": "2013-07-25 17:53:56"
"time": "2013-08-15 18:50:35"
},
{
"name": "phundament/p3media",
"version": "0.15.0",
"version": "0.15.1",
"source": {
"type": "git",
"url": "https://github.com/schmunk42/p3media.git",
"reference": "0.15.0"
"reference": "0.15.1"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/schmunk42/p3media/zipball/0.15.0",
"reference": "0.15.0",
"url": "https://api.github.com/repos/schmunk42/p3media/zipball/0.15.1",
"reference": "0.15.1",
"shasum": ""
},
"require": {
"clevertech/yiibooster": "1.*",
"php": ">=5.3.0",
"phundament/p3extensions": ">=0.14",
"phundament/p3extensions": ">=0.15.1",
"yiisoft/yii": "1.1.*"
},
"type": "yii-extension",
......@@ -323,10 +323,10 @@
"yii"
],
"support": {
"source": "https://github.com/schmunk42/p3media/tree/0.15.0",
"source": "https://github.com/schmunk42/p3media/tree/0.15.1",
"issues": "https://github.com/schmunk42/p3media/issues"
},
"time": "2013-08-15 14:30:06"
"time": "2013-08-15 18:53:35"
},
{
"name": "phundament/p3pages",
......
......@@ -11,6 +11,9 @@ $config = dirname(__FILE__) . '/../app/config/test.php';
// remove the following line when in production mode
defined('YII_DEBUG') or define('YII_DEBUG', true);
// register composer autoloader
require_once(dirname(__FILE__).'/../vendor/autoload.php');
require_once($yii);
Yii::createWebApplication($config)->run();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment