N°3651 - add a (commented out) test to prove the bug

just uncomment to use the test.
This commit is contained in:
bruno-ds
2021-01-15 11:14:25 +01:00
parent 137b4e55c4
commit 71d3713950

View File

@@ -165,6 +165,12 @@ class UtilsTest extends \Combodo\iTop\Test\UnitTest\ItopTestCase
'Setup index (windows antislash)' => array('http://localhost/', 'C:\Dev\wamp64\www\itop-dev\setup\index.php', 'C:\Dev\wamp64\www\itop-dev', 'http://localhost/setup/'),
'Setup index (windows slash)' => array('http://127.0.0.1/', 'C:/web/setup/index.php', 'C:/web', 'http://127.0.0.1/setup/'),
'Setup index (windows slash, drive letter case difference)' => array('http://127.0.0.1/', 'c:/web/setup/index.php', 'C:/web', 'http://127.0.0.1/setup/'),
// 'N°3651 - iTop installed on \\' => array(
// 'sReturnValue' => 'http://example.com/SETUP/',
// 'sCurrentScript' => 'C:\\inetpub\\wwwroot\\foo',
// 'sAppRoot' => '\\',
// 'sAbsoluteUrl' => 'http://example.com/SETUP/',
// ),
);
}