]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add unit test
authorRobin Appelman <icewind@owncloud.com>
Wed, 21 Jan 2015 16:18:47 +0000 (17:18 +0100)
committerRobin Appelman <icewind@owncloud.com>
Wed, 21 Jan 2015 16:18:47 +0000 (17:18 +0100)
tests/lib/request.php

index ea3722b90a6adb7907f830c435b84a1bd2464720..dd6d1e47cd5eb15aac22951951abe0fd4505f494 100644 (file)
@@ -84,6 +84,7 @@ class Test_Request extends \Test\TestCase {
                        array('/core/ajax/translations.php', '/core/ajax/translations.php', 'index.php'),
                        array('/core/ajax/translations.php', '//core/ajax/translations.php', '/index.php'),
                        array('/core/ajax/translations.php', '/oc/core/ajax/translations.php', '/oc/index.php'),
+                       array('/core/ajax/translations.php', '/oc//index.php/core/ajax/translations.php', '/oc/index.php'),
                        array('/1', '/oc/core/1', '/oc/core/index.php'),
                );
        }