diff --git a/test/classes/ScriptsTest.php b/test/classes/ScriptsTest.php index b7185e82de..6c8689a6c4 100644 --- a/test/classes/ScriptsTest.php +++ b/test/classes/ScriptsTest.php @@ -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(