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 GitHub
parent 2d524128c5
commit b08338d124
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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