Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
bibliossimo
opacce
Commits
8545e05d
Commit
8545e05d
authored
May 28, 2018
by
Patrick Barroca
😁
Browse files
ensure iCal library autoload in tests
parent
598cfb74
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
library/ZendAfi/Controller/Action/Helper/RenderIcal.php
library/ZendAfi/Controller/Action/Helper/RenderIcal.php
+2
-2
tests/bootstrap.php
tests/bootstrap.php
+2
-0
No files found.
library/ZendAfi/Controller/Action/Helper/RenderIcal.php
View file @
8545e05d
...
...
@@ -46,7 +46,7 @@ class ZendAfi_Controller_Action_Helper_RenderIcal
protected
function
_render
(
$articles
=
[])
{
$this
->
_
ensureAutoload
();
static
::
ensureAutoload
();
$vCalendar
=
new
\
Eluceo\iCal\Component\Calendar
(
static
::
PRODID
);
...
...
@@ -68,7 +68,7 @@ class ZendAfi_Controller_Action_Helper_RenderIcal
}
p
rotected
function
_
ensureAutoload
()
{
p
ublic
static
function
ensureAutoload
()
{
if
(
static
::
$_autoloaded
)
return
;
...
...
tests/bootstrap.php
View file @
8545e05d
...
...
@@ -61,6 +61,8 @@ $_SERVER['HTTP_HOST'] = 'localhost';
setupOpac
();
ZendAfi_Controller_Action_Helper_RenderIcal
::
ensureAutoload
();
(
new
Storm_Cache
())
->
getCache
()
->
setOption
(
'caching'
,
true
);
$db_cache
=
Zend_Cache
::
factory
(
'Core'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment