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:
Josh 2026-05-17 11:22:23 -04:00 committed by backportbot[bot]
parent d137a91f6b
commit 510510b73d

View file

@ -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
);