protected static function ReadOnlyFilesystemTest::getVfsRoot in Automatic Updates 8
Gets root of virtual Drupal directory.
Return value
string The root.
4 calls to ReadOnlyFilesystemTest::getVfsRoot()
- ReadOnlyFilesystemTest::testDifferentLogicDiskNotWritable in tests/
src/ Kernel/ ReadinessChecker/ ReadOnlyFilesystemTest.php - Tests the readiness check on read-only file system.
- ReadOnlyFilesystemTest::testDifferentLogicDiskWritable in tests/
src/ Kernel/ ReadinessChecker/ ReadOnlyFilesystemTest.php - Tests root and vendor directories are writable on different logical disks.
- ReadOnlyFilesystemTest::testSameLogicDiskNotWritable in tests/
src/ Kernel/ ReadinessChecker/ ReadOnlyFilesystemTest.php - Tests non-writable core and vendor directories on same logic disk.
- ReadOnlyFilesystemTest::testSameLogicDiskWritable in tests/
src/ Kernel/ ReadinessChecker/ ReadOnlyFilesystemTest.php - Tests the readiness check on writable file system on same logic disk.
File
- tests/
src/ Kernel/ ReadinessChecker/ ReadOnlyFilesystemTest.php, line 185
Class
- ReadOnlyFilesystemTest
- @coversDefaultClass \Drupal\automatic_updates\ReadinessChecker\ReadOnlyFilesystem
Namespace
Drupal\Tests\automatic_updates\Kernel\ReadinessCheckerCode
protected static function getVfsRoot() {
vfsStream::setup('root');
vfsStream::create([
'core' => [
'core.api.php' => 'test',
],
'vendor' => [
'composer' => [
'LICENSE' => 'test',
],
],
]);
return vfsStream::url('root');
}