mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -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
d137a91f6b
commit
510510b73d
1 changed files with 6 additions and 3 deletions
|
|
@ -230,7 +230,8 @@ class FileTest extends TestCase {
|
|||
null,
|
||||
[
|
||||
'permissions' => Constants::PERMISSION_ALL,
|
||||
'type' => FileInfo::TYPE_FOLDER,
|
||||
'type' => FileInfo::TYPE_FILE,
|
||||
'checksum' => '',
|
||||
],
|
||||
null
|
||||
);
|
||||
|
|
@ -794,7 +795,8 @@ class FileTest extends TestCase {
|
|||
null,
|
||||
[
|
||||
'permissions' => Constants::PERMISSION_ALL,
|
||||
'type' => FileInfo::TYPE_FOLDER,
|
||||
'type' => FileInfo::TYPE_FILE,
|
||||
'checksum' => '',
|
||||
],
|
||||
null
|
||||
);
|
||||
|
|
@ -1025,7 +1027,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