1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-28 07:41:55 +03:00

Url encode the PMA_VERSION because it could contain special chars

See: https://salsa.debian.org/phpmyadmin-team/phpmyadmin/-/blob/debian/4%255.0.4+dfsg2-1/debian/patches/Fix-test-for-Debian-versions-on-Debian-CI.patch

Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes
2021-01-23 16:55:10 +01:00
parent b1ed10e480
commit b859fb4f89

View File

@@ -59,7 +59,7 @@ class ScriptsTest extends AbstractTestCase
$actual = $this->object->getDisplay();
$this->assertStringContainsString(
'src="js/dist/common.js?v=' . PMA_VERSION . '"',
'src="js/dist/common.js?v=' . rawurlencode(PMA_VERSION) . '"',
$actual
);
$this->assertStringContainsString(