aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-02-20 15:09:11 +0000
committerMario <mario@mariovavti.com>2024-02-20 15:09:11 +0000
commitb7bc28c33356e95f4d45a7d5d2585e67ebd04648 (patch)
tree20b14018a7a6a45ae4d32865a25efd274b0256f2
parentfb5a52cbdeddec0e51db6993a6de5a17d50d7c2e (diff)
downloadvolse-hubzilla-b7bc28c33356e95f4d45a7d5d2585e67ebd04648.tar.gz
volse-hubzilla-b7bc28c33356e95f4d45a7d5d2585e67ebd04648.tar.bz2
volse-hubzilla-b7bc28c33356e95f4d45a7d5d2585e67ebd04648.zip
update test
-rw-r--r--tests/unit/includes/TextTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/includes/TextTest.php b/tests/unit/includes/TextTest.php
index 97fa64895..b76b15dcf 100644
--- a/tests/unit/includes/TextTest.php
+++ b/tests/unit/includes/TextTest.php
@@ -30,7 +30,7 @@ empty line above';
$this->assertEquals('Your HTML parser does not support HTML5 audio.', purify_html('<audio controls><source src="movie.ogg" "type="audio/ogg">Your HTML parser does not support HTML5 audio.</audio>'));
// preserve f6 and bootstrap additional data attributes from our own configuration
- $this->assertEquals('<div data-title="title">text</div>', purify_html('<div data-title="title">text</div>'));
+ $this->assertEquals('<div data-bs-title="title">text</div>', purify_html('<div data-bs-title="title">text</div>'));
$this->assertEquals('<ul data-accordion-menu=""><li>item1</li></ul>', purify_html('<ul data-accordion-menu><li>item1</li></ul>'));
$this->assertEquals('<ul><li>item1</li></ul>', purify_html('<ul data-accordion-menu-unknown><li>item1</li></ul>'));
}