diff --git a/composer.json b/composer.json index 9227188..8a44013 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "linusshops/prophet", "description": "Zero footprint Module testing for Magento Modules", - "version": "0.6.7", + "version": "0.7.0", "type": "utility", "keywords": [ "magento", diff --git a/src/LinusShops/Prophet/Magento.php b/src/LinusShops/Prophet/Magento.php index 7ce3d38..ece5708 100644 --- a/src/LinusShops/Prophet/Magento.php +++ b/src/LinusShops/Prophet/Magento.php @@ -32,7 +32,9 @@ public static function bootstrap($path = '.', Options $options) require_once $path.'/app/Mage.php'; - \Mage::init('', '', $options->getAll()); + $app = \Mage::app('default', 'store', $options->getAll()); + $app->getConfig()->loadEventObservers('global'); + $app->getConfig()->loadEventObservers('front'); self::$loaded = true; }