mirror of
https://github.com/getgrav/grav.git
synced 2026-03-14 00:20:53 +01:00
Add test case for #1244
This commit is contained in:
@@ -552,6 +552,29 @@ class UriTest extends \Codeception\TestCase\Test
|
||||
'addNonce' => 'http://localhost/a-page.json/nonce:{{nonce}}',
|
||||
'__toString' => 'http://localhost/a-page', // FIX ME <-
|
||||
],
|
||||
'http://localhost/admin/ajax.json/task:getnewsfeed' => [
|
||||
'scheme' => 'http://',
|
||||
'user' => null,
|
||||
'password' => null,
|
||||
'host' => 'localhost',
|
||||
'port' => 80,
|
||||
'path' => '/admin/ajax',
|
||||
'query' => '',
|
||||
'fragment' => null,
|
||||
|
||||
'route' => '/admin/ajax',
|
||||
'paths' => ['admin', 'ajax'],
|
||||
'params' => '/task:getnewsfeed',
|
||||
'url' => '/admin/ajax',
|
||||
'environment' => 'localhost',
|
||||
'basename' => 'ajax.json',
|
||||
'base' => 'http://localhost',
|
||||
'currentPage' => 1,
|
||||
'rootUrl' => 'http://localhost',
|
||||
'extension' => 'json',
|
||||
'addNonce' => 'http://localhost/admin/ajax.json/task:getnewsfeed/nonce:{{nonce}}',
|
||||
'__toString' => 'http://localhost/admin/ajax/task:getnewsfeed',
|
||||
],
|
||||
'http://localhost/grav/admin/media.json/route:L1VzZXJzL3JodWsvd29ya3NwYWNlL2dyYXYtZGVtby1zYW1wbGVyL3VzZXIvYXNzZXRzL3FRMXB4Vk1ERTNJZzh5Ni5qcGc=/task:removeFileFromBlueprint/proute:/blueprint:Y29uZmlnL2RldGFpbHM=/type:config/field:deep.nested.custom_file/path:dXNlci9hc3NldHMvcVExcHhWTURFM0lnOHk2LmpwZw==' => [
|
||||
'scheme' => 'http://',
|
||||
'user' => null,
|
||||
|
||||
Reference in New Issue
Block a user