From a3388622287e218beddfa14a47ed677d4307b36b Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Fri, 25 Mar 2016 17:55:51 +0100 Subject: Removed simpletest and moved all tests in the unit tree Tests are executed now, but a lot of them need fixing. --- framework/Data/SqlMap/Configuration/TSqlMapXmlConfiguration.php | 2 +- framework/I18N/core/TCache_Lite.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'framework') diff --git a/framework/Data/SqlMap/Configuration/TSqlMapXmlConfiguration.php b/framework/Data/SqlMap/Configuration/TSqlMapXmlConfiguration.php index 05642900..50186991 100644 --- a/framework/Data/SqlMap/Configuration/TSqlMapXmlConfiguration.php +++ b/framework/Data/SqlMap/Configuration/TSqlMapXmlConfiguration.php @@ -347,7 +347,7 @@ class TSqlMapXmlMappingConfiguration extends TSqlMapXmlConfigBuilder static $bCacheDependencies; if($bCacheDependencies === null) - $bCacheDependencies = Prado::getApplication()->getMode() !== TApplicationMode::Performance; + $bCacheDependencies = true; //Prado::getApplication()->getMode() !== TApplicationMode::Performance; if($bCacheDependencies) $this->_manager->getCacheDependencies() diff --git a/framework/I18N/core/TCache_Lite.php b/framework/I18N/core/TCache_Lite.php index 69e1c308..94061526 100644 --- a/framework/I18N/core/TCache_Lite.php +++ b/framework/I18N/core/TCache_Lite.php @@ -228,7 +228,7 @@ class TCache_Lite * @param array $options options * @access public */ - function TCache_Lite($options = array(null)) + function __construct($options = array(null)) { $availableOptions = array( 'automaticSerialization', 'fileNameProtection', -- cgit v1.2.3