|
|
|
|
@ -92,6 +92,7 @@ class ApiControllerTest extends TestCase { |
|
|
|
|
[ |
|
|
|
|
'mtime' => 55, |
|
|
|
|
'mimetype' => 'application/pdf', |
|
|
|
|
'permissions' => 31, |
|
|
|
|
'size' => 1234, |
|
|
|
|
'etag' => 'MyEtag', |
|
|
|
|
], |
|
|
|
|
@ -111,7 +112,7 @@ class ApiControllerTest extends TestCase { |
|
|
|
|
'parentId' => null, |
|
|
|
|
'mtime' => 55000, |
|
|
|
|
'name' => 'root.txt', |
|
|
|
|
'permissions' => null, |
|
|
|
|
'permissions' => 31, |
|
|
|
|
'mimetype' => 'application/pdf', |
|
|
|
|
'size' => 1234, |
|
|
|
|
'type' => 'file', |
|
|
|
|
@ -139,6 +140,7 @@ class ApiControllerTest extends TestCase { |
|
|
|
|
[ |
|
|
|
|
'mtime' => 55, |
|
|
|
|
'mimetype' => 'application/pdf', |
|
|
|
|
'permissions' => 31, |
|
|
|
|
'size' => 1234, |
|
|
|
|
'etag' => 'MyEtag', |
|
|
|
|
], |
|
|
|
|
@ -155,6 +157,7 @@ class ApiControllerTest extends TestCase { |
|
|
|
|
[ |
|
|
|
|
'mtime' => 999, |
|
|
|
|
'mimetype' => 'application/binary', |
|
|
|
|
'permissions' => 31, |
|
|
|
|
'size' => 9876, |
|
|
|
|
'etag' => 'SubEtag', |
|
|
|
|
], |
|
|
|
|
@ -174,7 +177,7 @@ class ApiControllerTest extends TestCase { |
|
|
|
|
'parentId' => null, |
|
|
|
|
'mtime' => 55000, |
|
|
|
|
'name' => 'root.txt', |
|
|
|
|
'permissions' => null, |
|
|
|
|
'permissions' => 31, |
|
|
|
|
'mimetype' => 'application/pdf', |
|
|
|
|
'size' => 1234, |
|
|
|
|
'type' => 'file', |
|
|
|
|
@ -191,7 +194,7 @@ class ApiControllerTest extends TestCase { |
|
|
|
|
'parentId' => null, |
|
|
|
|
'mtime' => 999000, |
|
|
|
|
'name' => 'root.txt', |
|
|
|
|
'permissions' => null, |
|
|
|
|
'permissions' => 31, |
|
|
|
|
'mimetype' => 'application/binary', |
|
|
|
|
'size' => 9876, |
|
|
|
|
'type' => 'file', |
|
|
|
|
|