aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_test
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2021-12-26 22:56:03 +0100
committerAndreas Gohr <andi@splitbrain.org>2021-12-26 22:56:03 +0100
commite36579e9867d79189a47b1244691b67aa990bc7f (patch)
tree2f9b8d546cd84e810f84799263042d3799715d6c /_test
parentc48d66083abf3993bb61181e9b1e8e9f7ad321af (diff)
downloaddokuwiki-e36579e9867d79189a47b1244691b67aa990bc7f.tar.gz
dokuwiki-e36579e9867d79189a47b1244691b67aa990bc7f.zip
Revert "fixed video attribute handling in php8"
This reverts commit f5cdab8ec90af0cde0c0e32209470cfa820b8ab5.
Diffstat (limited to '_test')
-rw-r--r--_test/tests/inc/parser/parser_media.test.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/_test/tests/inc/parser/parser_media.test.php b/_test/tests/inc/parser/parser_media.test.php
index 357b0b1bf..348e4fdc1 100644
--- a/_test/tests/inc/parser/parser_media.test.php
+++ b/_test/tests/inc/parser/parser_media.test.php
@@ -58,7 +58,7 @@ class TestOfDoku_Parser_Media extends TestOfDoku_Parser {
$calls = array(
array('document_start', array()),
array('p_open', array()),
- array('externalmedia', array($file, null, null, null, null, 'cache', 'details', [])),
+ array('externalmedia', array($file, null, null, null, null, 'cache', 'details', null)),
array('cdata', array(null)),
array('p_close', array()),
array('document_end', array()),
@@ -136,10 +136,10 @@ class TestOfDoku_Parser_Media extends TestOfDoku_Parser {
function testVideoInternalTitle() {
$file = 'wiki:kind_zu_katze.ogv';
$title = 'Single quote: \' Ampersand: &';
-
+
$Renderer = new Doku_Renderer_xhtml();
$url = $Renderer->externalmedia($file, $title, null, null, null, 'cache', 'details', array('controls'=>true), true);
-
+
// make sure the title is escaped just once
$this->assertEquals(htmlspecialchars($title), substr($url, 28, 32));
}
@@ -151,7 +151,7 @@ class TestOfDoku_Parser_Media extends TestOfDoku_Parser {
$calls = array (
array('document_start',array()),
array('p_open',array()),
- array('internalmedia',array($file,'This is a simple text.',null,null,null,'cache','details',[])),
+ array('internalmedia',array($file,'This is a simple text.',null,null,null,'cache','details',null)),
array('cdata',array(null)),
array('p_close',array()),
array('document_end',array()),
@@ -166,7 +166,7 @@ class TestOfDoku_Parser_Media extends TestOfDoku_Parser {
$calls = array (
array('document_start',array()),
array('p_open',array()),
- array('internalmedia',array($file,'We got a { here.',null,null,null,'cache','details',[])),
+ array('internalmedia',array($file,'We got a { here.',null,null,null,'cache','details',null)),
array('cdata',array(null)),
array('p_close',array()),
array('document_end',array()),
@@ -181,7 +181,7 @@ class TestOfDoku_Parser_Media extends TestOfDoku_Parser {
$calls = array (
array('document_start',array()),
array('p_open',array()),
- array('internalmedia',array($file,'We got a } here.',null,null,null,'cache','details',[])),
+ array('internalmedia',array($file,'We got a } here.',null,null,null,'cache','details',null)),
array('cdata',array(null)),
array('p_close',array()),
array('document_end',array()),
@@ -196,7 +196,7 @@ class TestOfDoku_Parser_Media extends TestOfDoku_Parser {
$calls = array (
array('document_start',array()),
array('p_open',array()),
- array('internalmedia',array($file,'We got a { and a } here.',null,null,null,'cache','details',[])),
+ array('internalmedia',array($file,'We got a { and a } here.',null,null,null,'cache','details',null)),
array('cdata',array(null)),
array('p_close',array()),
array('document_end',array()),