5 require_once(
'./libs/composer/vendor/autoload.php');
51 $privateAccessFile = 0700;
52 $privateAccessDir = 0700;
54 $publicAccessFile = 0744;
55 $publicAccessDir = 0755;
68 $filesystem = $this->subject->getInstance(
$config);
69 $this->assertInstanceOf(FilesystemFacade::class, $filesystem,
"Filesystem type must be " . FilesystemFacade::class);
80 $privateAccessFile = 0700;
81 $privateAccessDir = 0700;
83 $publicAccessFile = 0744;
84 $publicAccessDir = 0755;
86 $invalidLinkBehaviour = 9999;
98 $this->expectException(\InvalidArgumentException::class);
99 $this->expectExceptionMessage(
"The supplied value \"$invalidLinkBehaviour\" is not a valid LocalConfig link behaviour constant.");
101 $this->subject->getInstance(
$config);
112 $privateAccessFile = 0700;
113 $privateAccessDir = 0700;
115 $publicAccessFile = 0744;
116 $publicAccessDir = 0755;
117 $invalidLockMode = 9999;
129 $this->expectException(\InvalidArgumentException::class);
130 $this->expectExceptionMessage(
"The supplied value \"$invalidLockMode\" is not a valid file lock mode please check your local file storage configurations.");
132 $this->subject->getInstance(
$config);
testCreationOfFilesystemWithLinkSkipBehaviourWhichShouldSucceed()
testCreationOfFilesystemWithInvalidLinkBehaviourWhichShouldFail()
testCreationOfFilesystemWithInvalidFileLockModeWhichShouldFail()
setUp()
Sets up the fixture, for example, open a network connection.
Class FlySystemLocalFilesystemFactoryTest.
Class FlySystemLocalFilesystemFactory.
const SKIP_LINKS
Skip encountered links.