Skip to content
Extraits de code Groupes Projets
Valider 6365a47a rédigé par mattab's avatar mattab
Parcourir les fichiers

The [Debug] section is overwritten by tests. Instead use a new [DebugTests]...

The [Debug] section is overwritten by tests. Instead use a new [DebugTests] section that will not be overidden (in Config->setTestEnvironment)
parent 50f66a2e
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -86,6 +86,7 @@ tracker_always_new_visitor = 0 ...@@ -86,6 +86,7 @@ tracker_always_new_visitor = 0
; Allow automatic upgrades to Beta or RC releases ; Allow automatic upgrades to Beta or RC releases
allow_upgrades_to_beta = 0 allow_upgrades_to_beta = 0
[DebugTests]
; Set to 1 by default. If you set to 0, the standalone plugins (with their own git repositories) ; Set to 1 by default. If you set to 0, the standalone plugins (with their own git repositories)
; will not be loaded when executing tests. ; will not be loaded when executing tests.
enable_load_standalone_plugins_during_tests = 1 enable_load_standalone_plugins_during_tests = 1
...@@ -277,6 +278,11 @@ datatable_archiving_maximum_rows_actions = 500 ...@@ -277,6 +278,11 @@ datatable_archiving_maximum_rows_actions = 500
; because each subdirectory doesn't have paging at the bottom, so all data should be displayed if possible. ; because each subdirectory doesn't have paging at the bottom, so all data should be displayed if possible.
datatable_archiving_maximum_rows_subtable_actions = 100 datatable_archiving_maximum_rows_subtable_actions = 100
; maximum number of rows for any of the Events tables (Categories, Actions, Names)
datatable_archiving_maximum_rows_events = 500
; maximum number of rows for sub-tables of the Events tables (eg. for the subtables Categories>Actions or Categories>Names).
datatable_archiving_maximum_rows_subtable_events = 100
; maximum number of rows for other tables (Providers, User settings configurations) ; maximum number of rows for other tables (Providers, User settings configurations)
datatable_archiving_maximum_rows_standard = 500 datatable_archiving_maximum_rows_standard = 500
......
...@@ -106,7 +106,7 @@ class Manager extends Singleton ...@@ -106,7 +106,7 @@ class Manager extends Singleton
{ {
$toLoad = array(); $toLoad = array();
$loadStandalonePluginsDuringTests = @Config::getInstance()->Debug['enable_load_standalone_plugins_during_tests']; $loadStandalonePluginsDuringTests = @Config::getInstance()->DebugTests['enable_load_standalone_plugins_during_tests'];
foreach($this->readPluginsDirectory() as $plugin) { foreach($this->readPluginsDirectory() as $plugin) {
$forceDisable = array( $forceDisable = array(
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter