Skip to content
Snippets Groups Projects
Commit 02605b13 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

dev #74865 update bootstrap test

parent 003f84b5
Branches
Tags
4 merge requests!2660Master,!2645Dev#74865 local to es,!2644Dev#74865 local to es,!2643Dev#74865 local to es
Pipeline #4092 failed with stage
in 33 minutes and 34 seconds
...@@ -395,7 +395,7 @@ class Class_DigitalResource_Wrapper { ...@@ -395,7 +395,7 @@ class Class_DigitalResource_Wrapper {
class Class_DigitalResource_ConfigProvider { class Class_DigitalResource_ConfigProvider {
public function getConfig($digital_resource, $class_name, $plugin) { public function getConfig($digital_resource, $class_name, $plugin) {
if(!class_exists($class_name)) if(!@class_exists($class_name))
return null; return null;
return new $class_name(new Class_DigitalResource_Wrapper($digital_resource, $plugin)); return new $class_name(new Class_DigitalResource_Wrapper($digital_resource, $plugin));
} }
......
...@@ -81,6 +81,7 @@ $translate = Zend_Registry::get('translate'); ...@@ -81,6 +81,7 @@ $translate = Zend_Registry::get('translate');
$translate->addTranslation(LANG_DIR.'ro.mo', 'ro'); $translate->addTranslation(LANG_DIR.'ro.mo', 'ro');
$translate->addTranslation(LANG_DIR.'en.mo', 'en'); $translate->addTranslation(LANG_DIR.'en.mo', 'en');
$translate->addTranslation(LANG_DIR.'es.mo', 'es'); $translate->addTranslation(LANG_DIR.'es.mo', 'es');
$translate->addTranslation(LANG_DIR.'fr.mo', 'fr');
$translate->setLocale('fr'); $translate->setLocale('fr');
require_once 'tests/library/ZendAfi/View/Helper/ViewHelperTestCase.php'; require_once 'tests/library/ZendAfi/View/Helper/ViewHelperTestCase.php';
......
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