|
|
|
@ -191,7 +191,16 @@ class ViewControllerTest extends TestCase {
|
|
|
|
|
'appname' => 'files',
|
|
|
|
|
'script' => 'list.php',
|
|
|
|
|
'order' => 0,
|
|
|
|
|
'name' => new \OC_L10N_String(new \OC_L10N('files'), 'All files', []),
|
|
|
|
|
'name' => (string)new \OC_L10N_String(new \OC_L10N('files'), 'All files', []),
|
|
|
|
|
'active' => false,
|
|
|
|
|
'icon' => '',
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'id' => 'recent',
|
|
|
|
|
'appname' => 'files',
|
|
|
|
|
'script' => 'list.php',
|
|
|
|
|
'order' => 2,
|
|
|
|
|
'name' => (string)new \OC_L10N_String(new \OC_L10N('files'), 'Recent', []),
|
|
|
|
|
'active' => false,
|
|
|
|
|
'icon' => '',
|
|
|
|
|
],
|
|
|
|
@ -209,7 +218,7 @@ class ViewControllerTest extends TestCase {
|
|
|
|
|
'appname' => 'files_sharing',
|
|
|
|
|
'script' => 'list.php',
|
|
|
|
|
'order' => 10,
|
|
|
|
|
'name' => new \OC_L10N_String(new \OC_L10N('files_sharing'), 'Shared with you', []),
|
|
|
|
|
'name' => (string)new \OC_L10N_String(new \OC_L10N('files_sharing'), 'Shared with you', []),
|
|
|
|
|
'active' => false,
|
|
|
|
|
'icon' => '',
|
|
|
|
|
],
|
|
|
|
@ -218,7 +227,7 @@ class ViewControllerTest extends TestCase {
|
|
|
|
|
'appname' => 'files_sharing',
|
|
|
|
|
'script' => 'list.php',
|
|
|
|
|
'order' => 15,
|
|
|
|
|
'name' => new \OC_L10N_String(new \OC_L10N('files_sharing'), 'Shared with others', []),
|
|
|
|
|
'name' => (string)new \OC_L10N_String(new \OC_L10N('files_sharing'), 'Shared with others', []),
|
|
|
|
|
'active' => false,
|
|
|
|
|
'icon' => '',
|
|
|
|
|
],
|
|
|
|
@ -227,7 +236,7 @@ class ViewControllerTest extends TestCase {
|
|
|
|
|
'appname' => 'files_sharing',
|
|
|
|
|
'script' => 'list.php',
|
|
|
|
|
'order' => 20,
|
|
|
|
|
'name' => new \OC_L10N_String(new \OC_L10N('files_sharing'), 'Shared by link', []),
|
|
|
|
|
'name' => (string)new \OC_L10N_String(new \OC_L10N('files_sharing'), 'Shared by link', []),
|
|
|
|
|
'active' => false,
|
|
|
|
|
'icon' => '',
|
|
|
|
|
],
|
|
|
|
@ -236,7 +245,7 @@ class ViewControllerTest extends TestCase {
|
|
|
|
|
'appname' => 'systemtags',
|
|
|
|
|
'script' => 'list.php',
|
|
|
|
|
'order' => 25,
|
|
|
|
|
'name' => new \OC_L10N_String(new \OC_L10N('systemtags'), 'Tags', []),
|
|
|
|
|
'name' => (string)new \OC_L10N_String(new \OC_L10N('systemtags'), 'Tags', []),
|
|
|
|
|
'active' => false,
|
|
|
|
|
'icon' => '',
|
|
|
|
|
],
|
|
|
|
@ -245,7 +254,7 @@ class ViewControllerTest extends TestCase {
|
|
|
|
|
'appname' => 'files_trashbin',
|
|
|
|
|
'script' => 'list.php',
|
|
|
|
|
'order' => 50,
|
|
|
|
|
'name' => new \OC_L10N_String(new \OC_L10N('files_trashbin'), 'Deleted files', []),
|
|
|
|
|
'name' => (string)new \OC_L10N_String(new \OC_L10N('files_trashbin'), 'Deleted files', []),
|
|
|
|
|
'active' => false,
|
|
|
|
|
'icon' => '',
|
|
|
|
|
],
|
|
|
|
@ -272,6 +281,10 @@ class ViewControllerTest extends TestCase {
|
|
|
|
|
'id' => 'files',
|
|
|
|
|
'content' => null,
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'id' => 'recent',
|
|
|
|
|
'content' => null,
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'id' => 'favorites',
|
|
|
|
|
'content' => null,
|
|
|
|
|