mirror of
https://github.com/nextcloud/server.git
synced 2026-06-14 19:20:35 -04:00
test(dav): make sure FileInfo is constructed with checksum
At least where likely to be needed. Also fixed object type. Signed-off-by: Josh <josh.t.richards@gmail.com>
This commit is contained in:
parent
2d524128c5
commit
b08338d124
1 changed files with 6 additions and 3 deletions
|
|
@ -238,7 +238,8 @@ class FileTest extends TestCase {
|
|||
null,
|
||||
[
|
||||
'permissions' => Constants::PERMISSION_ALL,
|
||||
'type' => FileInfo::TYPE_FOLDER,
|
||||
'type' => FileInfo::TYPE_FILE,
|
||||
'checksum' => '',
|
||||
],
|
||||
null
|
||||
);
|
||||
|
|
@ -818,7 +819,8 @@ class FileTest extends TestCase {
|
|||
null,
|
||||
[
|
||||
'permissions' => Constants::PERMISSION_ALL,
|
||||
'type' => FileInfo::TYPE_FOLDER,
|
||||
'type' => FileInfo::TYPE_FILE,
|
||||
'checksum' => '',
|
||||
],
|
||||
null
|
||||
);
|
||||
|
|
@ -1047,7 +1049,8 @@ class FileTest extends TestCase {
|
|||
null,
|
||||
[
|
||||
'permissions' => Constants::PERMISSION_ALL,
|
||||
'type' => FileInfo::TYPE_FOLDER,
|
||||
'type' => FileInfo::TYPE_FILE,
|
||||
'checksum' => '',
|
||||
],
|
||||
null
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue