36 private \ILIAS\Filesystem\Provider\FlySystem\FlySystemLocalFilesystemFactory
$subject;
43 protected function setUp(): void
58 $privateAccessFile = 0700;
59 $privateAccessDir = 0700;
61 $publicAccessFile = 0744;
62 $publicAccessDir = 0755;
75 $filesystem = $this->subject->getInstance($config);
76 $this->assertInstanceOf(FilesystemFacade::class, $filesystem,
"Filesystem type must be " . FilesystemFacade::class);
87 $privateAccessFile = 0700;
88 $privateAccessDir = 0700;
90 $publicAccessFile = 0744;
91 $publicAccessDir = 0755;
93 $invalidLinkBehaviour = 9999;
102 $invalidLinkBehaviour
105 $this->expectException(\InvalidArgumentException::class);
106 $this->expectExceptionMessage(
"The supplied value \"$invalidLinkBehaviour\" is not a valid LocalConfig link behaviour constant.");
108 $this->subject->getInstance($config);
119 $privateAccessFile = 0700;
120 $privateAccessDir = 0700;
122 $publicAccessFile = 0744;
123 $publicAccessDir = 0755;
124 $invalidLockMode = 9999;
136 $this->expectException(\InvalidArgumentException::class);
137 $this->expectExceptionMessage(
"The supplied value \"$invalidLockMode\" is not a valid file lock mode please check your local file storage configurations.");
139 $this->subject->getInstance($config);
testCreationOfFilesystemWithLinkSkipBehaviourWhichShouldSucceed()
testCreationOfFilesystemWithInvalidLinkBehaviourWhichShouldFail()
testCreationOfFilesystemWithInvalidFileLockModeWhichShouldFail()
setUp()
Sets up the fixture, for example, open a network connection.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS Filesystem Provider FlySystem FlySystemLocalFilesystemFactory $subject
This class is used to configure the local filesystem adapter.
const SKIP_LINKS
Skip encountered links.